You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like to indent the "where" keyword by 2 spaces from the expression it is contained within, and then indent the bindings in the where (on a newline) by 2 more spaces, so the bindings are indented 4 spaces from the expression containing them, thus:
foop = doop 1
where
doop x = x + woop x
woop x = 0
However, when I hit enter after doop 1 and type where, it correctly gets indented by 2 spaces (I don't think this is configurable, looking at the README?) but then after hitting enter and typing doop x and woop x, the indentation is as follows:
foop = doop 1
where
doop x = x + woop x
woop x = 0
I have set let g:haskell_indent_where = 2 in my .vimrc, but it doesn't appear to have any effect.