File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -522,6 +522,8 @@ autofill-mode."
522522 " in" purescript-indentation-expression))))
523523 (" do" . (lambda () (purescript-indentation-with-starter
524524 #'purescript-indentation-expression-layout nil )))
525+ (" ado" . (lambda () (purescript-indentation-with-starter
526+ #'purescript-indentation-expression-layout nil )))
525527 (" mdo" . (lambda () (purescript-indentation-with-starter
526528 #'purescript-indentation-expression-layout nil )))
527529 (" rec" . (lambda () (purescript-indentation-with-starter
@@ -977,7 +979,7 @@ autofill-mode."
977979
978980(defun purescript-indentation-peek-token ()
979981 " 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:]'_]\\ |$\\ )" )
981983 (match-string-no-properties 1 ))
982984 ((looking-at " [][(){}[,;]" )
983985 (match-string-no-properties 0 ))
You can’t perform that action at this time.
0 commit comments