Skip to content

cmake-mode.el: dedent a hanging parens

Jonas Jelten requested to merge jj/cmake:hanging-parens-dedent into master

Suppose you have this function call:

FancyFunction(
    NAME just
    OPTION testing
    )  # this parens should be at previous indent level

With this patch, the indentation will be

FancyFunction(
    NAME just
    OPTION testing
)  # now it's correct

Multiple closing parens won't decrease indentation more, but the current cmake syntax doesn't allow nesting function calls anyway.

Merge request reports