haskell/haskell-language-server

Should we use 2 spaces for indentation in HLS?

fendor opened this issue · 3 comments

The .editorconfig specifies indent_size = 4.

To be honest, I prefer 2 :)

The plugins generally do not have a unified indentation style or code style, some use 2 and some use 4.

Should we change the .editorconfig to suggest indent_size = 2?

vote for 2. 🙋

For clarification, this issue does not propose that we change any existing code, rather that the default, if we agree to do it, should be 2, and all new code should (but doesn't have to) use indentation 2.

I find it pretty frustrating. While editorconfig has 4, we use 2 in many places, and it really confuses my editor.