Skip to content

Commit 0e2d1f2

Browse files
committed
Merge pull request #543 from gracjan/pr-smerge-mode
Direct users to smerge-mode for conflict markers.
2 parents ee28d49 + 3361a82 commit 0e2d1f2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

haskell-font-lock.el

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,6 @@ Returns keywords suitable for `font-lock-keywords'."
321321
(setq keywords
322322
`(;; NOTICE the ordering below is significant
323323
;;
324-
("^<<<<<<< .*$" 0 'font-lock-warning-face t)
325-
("^|||||||$" 0 'font-lock-warning-face t) ; "diff3" style
326-
("^=======$" 0 'font-lock-warning-face t)
327-
("^>>>>>>> .*$" 0 'font-lock-warning-face t)
328324
("^#.*$" 0 'font-lock-preprocessor-face t)
329325

330326
,@(haskell-font-lock-symbols-keywords)

haskell-mode.el

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,12 @@ Use `haskell-version' to find out what version of Haskell mode you are
639639
currently using.
640640
641641
Additional Haskell mode modules can be hooked in via `haskell-mode-hook';
642-
see documentation for that variable for more details."
642+
see documentation for that variable for more details.
643+
644+
Minor modes that work well with `haskell-mode':
645+
646+
- `smerge-mode': show and work with diff3 conflict markers used
647+
by git, svn and other version control systems."
643648
:group 'haskell
644649
;; paragraph-{start,separate} should treat comments as paragraphs as well.
645650
(set (make-local-variable 'paragraph-start)

0 commit comments

Comments
 (0)