Skip to content

Commit e2d139b

Browse files
author
Karl Smeltzer
committed
Clean Haddock comment regexp and docsym
1 parent ae71888 commit e2d139b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell-font-lock.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ that should be commented under LaTeX-style literate scripts."
567567
((and haskell-font-lock-haddock
568568
(save-excursion
569569
(goto-char (nth 8 state))
570-
(or (looking-at "\\({-[ ]?\\|-- \\)[|^*]")
570+
(or (looking-at "\\(?:{- ?\\|-- \\)[|^*$]")
571571
(and haskell-font-lock-seen-haddock
572572
(looking-at "--")
573573
(let ((doc nil)

0 commit comments

Comments
 (0)