Skip to content

Commit a469367

Browse files
committed
Add support for Git's merge annotations.
1 parent 2bc8278 commit a469367

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

haskell-font-lock.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,9 @@ Returns keywords suitable for `font-lock-keywords'."
333333
(setq keywords
334334
`(;; NOTICE the ordering below is significant
335335
;;
336+
("^<<<<<<< .*$" 0 'font-lock-preprocessor-face t)
337+
("^=======" 0 'font-lock-preprocessor-face t)
338+
("^>>>>>>> .*$" 0 'font-lock-preprocessor-face t)
336339
("^#.*$" 0 'font-lock-warning-face t)
337340
,@(unless haskell-emacs21-features ;Supports nested comments?
338341
;; Expensive.

0 commit comments

Comments
 (0)