Refresh diff-hl after Magit commits

This commit is contained in:
Wojciech Kozlowski 2017-09-02 21:24:18 +01:00
parent b97744151f
commit fb01451ce3

View File

@ -61,7 +61,8 @@
(use-package diff-hl
:init
(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.