hasksyn
hasksyn copied to clipboard
On reindent, lines with "in" keyword are misaligned
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
.
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.