Skip to content

Commit 18fd96b

Browse files
committed
tweak(diff-hl): don't show +/-/! symbols in the margin
1 parent 05e33d3 commit 18fd96b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/me-vc.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ to `conventional' or `prefix'."
166166
:hook (minemacs-first-file . global-diff-hl-mode)
167167
:hook (diff-hl-mode . +diff-hl-update-on-buffer-change)
168168
:hook (dired-mode . diff-hl-dired-mode)
169+
:custom
170+
;; Don't show symbols in the margin for addition, deletion and change
171+
(diff-hl-margin-symbols-alist '((insert . " ") (delete . " ") (change . " ") (unknown . "?") (ignored . "i")))
169172
:config
170173
;; BUG+HACK: After commiting changes from `magit' and switching back to the
171174
;; buffer, the diff-hl doesn't go away until an input happens. This hook will

0 commit comments

Comments
 (0)