Skip to content

Commit

Permalink
Direct users to smerge-mode for conflict markers.
Browse files Browse the repository at this point in the history
  • Loading branch information
gracjan committed Mar 27, 2015
1 parent ee28d49 commit 3361a82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions haskell-font-lock.el
Expand Up @@ -321,10 +321,6 @@ Returns keywords suitable for `font-lock-keywords'."
(setq keywords
`(;; NOTICE the ordering below is significant
;;
("^<<<<<<< .*$" 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)

,@(haskell-font-lock-symbols-keywords)
Expand Down
7 changes: 6 additions & 1 deletion haskell-mode.el
Expand Up @@ -639,7 +639,12 @@ Use `haskell-version' to find out what version of Haskell mode you are
currently using.
Additional Haskell mode modules can be hooked in via `haskell-mode-hook';
see documentation for that variable for more details."
see documentation for that variable for more details.
Minor modes that work well with `haskell-mode':
- `smerge-mode': show and work with diff3 conflict markers used
by git, svn and other version control systems."
:group 'haskell
;; paragraph-{start,separate} should treat comments as paragraphs as well.
(set (make-local-variable 'paragraph-start)
Expand Down

0 comments on commit 3361a82

Please sign in to comment.