Skip to content

Commit

Permalink
Correct marker regexes
Browse files Browse the repository at this point in the history
`>>>>>>>` and `<<<<<<<` have text after, but `|||||||` and `=======`
do not.
  • Loading branch information
bryangarza committed Mar 11, 2015
1 parent 7fa3158 commit 44865d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion haskell-font-lock.el
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ Returns keywords suitable for `font-lock-keywords'."
`(;; NOTICE the ordering below is significant
;;
("^<<<<<<< .*$" 0 'font-lock-warning-face t)
("^======= .*$" 0 'font-lock-warning-face t)
("^|||||||$" 0 'font-lock-warning-face t) ; "diff3" style
("^=======$" 0 'font-lock-warning-face t)
("^>>>>>>> .*$" 0 'font-lock-warning-face t)
("^#.*$" 0 'font-lock-preprocessor-face t)

Expand Down

0 comments on commit 44865d1

Please sign in to comment.