Refresh diff-hl after Magit commits
This commit is contained in:
parent
b97744151f
commit
fb01451ce3
@ -61,7 +61,8 @@
|
|||||||
(use-package diff-hl
|
(use-package diff-hl
|
||||||
:init
|
:init
|
||||||
(global-diff-hl-mode)
|
(global-diff-hl-mode)
|
||||||
(add-hook 'dired-mode-hook 'diff-hl-dired-mode))
|
(add-hook 'dired-mode-hook 'diff-hl-dired-mode)
|
||||||
|
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))
|
||||||
|
|
||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
;; Diff mode settings.
|
;; Diff mode settings.
|
||||||
|
Reference in New Issue
Block a user