On reindent, lines with "in" keyword are misaligned
Opened this issue · 1 comments
mganjoo commented
When realigning a block such as the following using "="
loop acc x:xs = let acc' = acc * 10 + digitToIt x
in loop acc xs
the in
is re-aligned with the variable binding on the previous line, not the let
.
mganjoo commented
I believe it's because of the line if thisl =~ '\s*in$
in indent/haskell.vim. It should probably be if thisl =~ '\s*in\>
instead? I could send a pull request if needed.