Closed Pitometsu closed 6 years ago
Does indent-region
also cleanup whitespace in scala-mode?
That would explain the behaviour. The only way in which aggressive-indent-mode ever modifies the buffer is by calling indent-region.
Yes, it is. Thank you for suggestion. Seems like it's more scala-mode
issue, sorry for disturb.
No problem. Happy to help. There's probably a config option to disable this in scala-mode.
When I type something like
Hello there, folks
atscala-mode
it eat all the spaces, and I haveHellothere,folks
. The only way isC-b
and put spaces back when them not at the end of line.