I am very happy with emacs and lsp-mode, because of the fact that haskell-language-server now takes care of a lot of stuff for me.
I recently discovered brittany
, i.e. automatic code styling.
However, brittany sets indentation to 4 spaces. Once I use a couple of closures, a lot of code gets wrapped in a ridiculous way on the remaining right half of my editor.
Anyone knows how to configure brittany (brought to me by emacs/lsp-haskell) to use 2 spaces?
And while I’m at it: Anyone else using brittany here? If you prefer another styling tool, why? And is there general agreement on 2 spaces vs 4 spaces?