Skip to content

Indent: wrongly indented if bracket comment is present in previous command-args #14

Open
@pboettch

Description

@pboettch

This

message(STATUS "Hello" #[[Bracket Comment]] "second")

add_custom_command() # TODO this will wrongly align to ( due to bracket-comment

becomes

message(STATUS "Hello" #[[Bracket Comment]] "second")

        add_custom_command() # TODO this will wrongly align to ( due to bracket-comment

because the indent-code does not see the closing-parenthesis due to the bracket-comment.

Github is not aware of bracket-comments neither. Who uses them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions