Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

editor:auto-indent mis-indents "} else {" #64

Closed
turnidge opened this issue Jul 15, 2015 · 0 comments · Fixed by #90
Closed

editor:auto-indent mis-indents "} else {" #64

turnidge opened this issue Jul 15, 2015 · 0 comments · Fixed by #90
Labels

Comments

@turnidge
Copy link

In a program like this:

main() {
  if (true) {
    foo;
  } else {
    bar;
  }
}

The editor:auto-indent command will mis-indent the "} else {" line.

I've also seen it mis-indent lines like "} else if (x == 3) {"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants