Closed
Description
To reproduce, create a new .hs file, enter "module Foo where". Next line will be indented 4 characters. Same with after imports. This showed up on mac emacs after upgrading to latest haskell-mode (haskell-mode-20150912.58).
To attempt to fix, I added (not (or (looking-at "module") (looking-at "import")))
to haskell-indent-contour-line
in haskell-indent.el. Seems hacky. So far seems to resolve the issue, but I'm not comfortable yet that this is a good fix. Also not sure why this broke, I don't see much activity affecting the "contour-line" functions in haskell-indent.el.
Metadata
Metadata
Assignees
Labels
No labels