Closed nloyola closed 7 years ago
indeed a bug
Scalariform isn't great with this either. If you find a scalariform setting that makes this look pretty, please let me know.
This has worked and I think it got broken at some point
the bug is that scala-indent:goto-body-anchor
goes to scala-indent:backward-sexp-to-beginning-of-line
instead of going to the beginning of if
I've set
scala-indent:align-forms
tot
but the indentation is wrong. This is what I get:The line that has
true
is not indented correctly.I'm using scala mode version 20160902.525 on Emacs 25.1-rc2 running on Ubuntu 16.04.