Skip to content

Indentation bug in emacs clay-mode #68

@ramonasuncion

Description

@ramonasuncion

If you do the following in emac's clay-mode, it won't indent correctly.

// happens with any braces
void main() {
}

After you put this in, if you go to the center and press tab, it will not indent. It only happens when you close the brace before typing. If you tab and type a line of code into the middle area then it will work. It only doesn't work if the closing brace is there before indenting.

It's annoying when your coding style is "function, braces, close braces, then type body".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtoolingBuild system, IDE support, editor plugins

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions