Refresh diff-hl buffers after committing in magit
This commit is contained in:
parent
20624e9171
commit
013778f74a
1 changed files with 3 additions and 0 deletions
|
@ -668,6 +668,9 @@ MODE1 is enabled and vice-versa."
|
||||||
;; Bind tagedit-specific keys
|
;; Bind tagedit-specific keys
|
||||||
(add-hook 'tagedit-mode-hook 'oni:set-keys-for-tagedit)
|
(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
|
(oni:add-hooks 'texinfo-mode-hook
|
||||||
#'outline-minor-mode)
|
#'outline-minor-mode)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue