I'm getting indentation problems in Java and Scala where a closing brace after an else clause doesn't indent backwards. Example is below.
You can see the final closing brace has not been unindented properly. This continues even if I do =G to indent to the end of the file. If I fix it manually and do =G again, it repeats the problem.
Anybody ever seen something like this?
---------
for (Ship ship : GameInstance.getInstance().frigates) {
if (ship.alive) {
ship.draw(gameBatch)
} else {
GameInstance.getInstance().frigates.removeValue(ship, true)
}
}
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thursday, May 7, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment