Skip to content
Browse files

Added rec, proc and mdo as off-side keywords for haskell-indent.el

  • Loading branch information...
1 parent d276703 commit a1cd731ca6ce290a94016348729268db90d049ab @gracjan gracjan committed Mar 6, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 haskell-indent.el
View
4 haskell-indent.el
@@ -386,7 +386,7 @@ Returns the location of the start of the comment, nil otherwise."
(nth 8 pps)))))
(defvar haskell-indent-off-side-keywords-re
- "\\<\\(do\\|let\\|of\\|where\\)\\>[ \t]*")
+ "\\<\\(do\\|let\\|of\\|where\\|mdo\\|rec\\)\\>[ \t]*")
(defun haskell-indent-type-at-point ()
"Return the type of the line (also puts information in `match-data')."
@@ -1046,6 +1046,8 @@ See http://hackage.haskell.org/trac/haskell-prime/wiki/DoAndIfThenElse"
'(("where" 2 0)
("of" 2)
("do" 2)
+ ("mdo" 2)
+ ("rec" 2)
("in" 2 0)
("{" 2)
"if"

0 comments on commit a1cd731

Please sign in to comment.
Something went wrong with that request. Please try again.