We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c63ce2 + e2d139b commit ec7ff37Copy full SHA for ec7ff37
haskell-font-lock.el
@@ -567,7 +567,7 @@ that should be commented under LaTeX-style literate scripts."
567
((and haskell-font-lock-haddock
568
(save-excursion
569
(goto-char (nth 8 state))
570
- (or (looking-at "[{-]-[ \\t]*[|^*]")
+ (or (looking-at "\\(?:{- ?\\|-- \\)[|^*$]")
571
(and haskell-font-lock-seen-haddock
572
(looking-at "--")
573
(let ((doc nil)
0 commit comments