File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -522,6 +522,8 @@ autofill-mode."
522
522
" in" purescript-indentation-expression))))
523
523
(" do" . (lambda () (purescript-indentation-with-starter
524
524
#'purescript-indentation-expression-layout nil )))
525
+ (" ado" . (lambda () (purescript-indentation-with-starter
526
+ #'purescript-indentation-expression-layout nil )))
525
527
(" mdo" . (lambda () (purescript-indentation-with-starter
526
528
#'purescript-indentation-expression-layout nil )))
527
529
(" rec" . (lambda () (purescript-indentation-with-starter
@@ -977,7 +979,7 @@ autofill-mode."
977
979
978
980
(defun purescript-indentation-peek-token ()
979
981
" Return token starting at point."
980
- (cond ((looking-at " \\ (if\\ |then\\ |else\\ |let\\ |in\\ |mdo\\ |rec\\ |\\ (?:[[:word:]]+\\ .\\ )*do\\ |proc\\ |case\\ |of\\ |where\\ |module\\ |deriving\\ |data\\ |type\\ |newtype\\ |class\\ |instance\\ )\\ ([^[:alnum:]'_]\\ |$\\ )" )
982
+ (cond ((looking-at " \\ (if\\ |then\\ |else\\ |let\\ |in\\ |ado \\ | mdo\\ |rec\\ |\\ (?:[[:word:]]+\\ .\\ )*do\\ |proc\\ |case\\ |of\\ |where\\ |module\\ |deriving\\ |data\\ |type\\ |newtype\\ |class\\ |instance\\ )\\ ([^[:alnum:]'_]\\ |$\\ )" )
981
983
(match-string-no-properties 1 ))
982
984
((looking-at " [][(){}[,;]" )
983
985
(match-string-no-properties 0 ))
You can’t perform that action at this time.
0 commit comments