Default indentation is 8 spaces
russel opened this issue ยท 6 comments
It seems that the default indentation for Kotlin mode is 8 spaces. Is this the right default?
There appears to be no examples of changing the various defaults.
I believe it should be 4 spaces but in certain nested cases (like when indenting parameter lists) it uses 2x the default indentation level.
There currently is no option for either of these things in kotlin-mode.
Set the variable kotlin-tab-width to change the default.
But why is it 8 when the community standard is 4??
Of course the right character for indent is tab. At least Go uses that, but Python, Rust, etc. have a de facto standard of 4 spaces. :-(
I swear plugins do this to make you fiddle with your .emacs more. The only code style I've seen with 8 spaces default is GNU C. Insane default.