Refresh diff-hl buffers after committing in magit

This commit is contained in:
Tom Willemse 2016-02-08 01:02:48 +01:00
parent 20624e9171
commit 013778f74a

View file

@ -668,6 +668,9 @@ MODE1 is enabled and vice-versa."
;; Bind tagedit-specific keys
(add-hook 'tagedit-mode-hook 'oni:set-keys-for-tagedit)
;; Update diff-hl when magit changes something.
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh t)
(oni:add-hooks 'texinfo-mode-hook
#'outline-minor-mode)