Run `diff-hl-magit-post-refresh` after committing
Otherwise `diff-hl-mode` still highlights uncommitted changes
This commit is contained in:
parent
7e82535bf3
commit
81626bee0b
|
@ -34,6 +34,8 @@
|
|||
(progn
|
||||
(setq diff-hl-side 'right)
|
||||
(when (eq version-control-diff-tool 'diff-hl)
|
||||
(when (configuration-layer/package-usedp 'magit)
|
||||
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))
|
||||
(when version-control-global-margin
|
||||
(global-diff-hl-mode))
|
||||
(unless (display-graphic-p)
|
||||
|
|
Loading…
Reference in New Issue