elm.vim
elm.vim copied to clipboard
Auto-indentation of `in` and `else` can get annoying
Something is wrong with the way in
is handled. Say you have some code like this:
let a = False
case a of
False -> ()
and you are just adding the in
in front of the case
you get to incase
and it gets indented by one. Which is a bit annoying.
With else
I often want to align like this:
f a = if a then b
else c
so the auto-aligning to the then
gets really annoying.
+1 I think the plugin should be lenient about indentation to accommodate different coding styles. Especially since the official style guide is still going through major changes.