diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 69f8206..86a5e55 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -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)