Skip to content

Commit

Permalink
Emacs: Highlight only first error line by default (ocaml#1693)
Browse files Browse the repository at this point in the history
from 3Rafal/highlight-first-error-line-only
  • Loading branch information
voodoos authored Dec 1, 2023
2 parents 8380e47 + 5e24cb9 commit ad9955c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ merlin NEXT_VERSION
#1704)
+ editor modes
- vim: load merlin when Vim is compiled with +python3/dyn (e.g. MacVim)
- emacs: highlight only first error line by default (#1693, fixes #1663)

merlin 4.12
===========
Expand Down
2 changes: 1 addition & 1 deletion emacs/merlin.el
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ If a string list, check only if the extension of the buffer-file-name
"If non-nil, display errors in fringe"
:group 'merlin :type 'boolean)

(defcustom merlin-error-on-single-line nil
(defcustom merlin-error-on-single-line t
"Only highlight first line of multi-line error messages"
:group 'merlin :type 'boolean)

Expand Down

0 comments on commit ad9955c

Please sign in to comment.