summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-04 23:37:11 -0500
committerDavid Robillard <d@drobilla.net>2023-02-04 23:37:11 -0500
commit5844e63cc603ddbc30aa8558ed9290d9e8b55933 (patch)
treecd207846983c6f1c64cb3e7f5b4e693b7a575f25 /emacs
parentf6380ea9abe777858c5d83650a73730f8ec8d215 (diff)
downloaddotfiles-5844e63cc603ddbc30aa8558ed9290d9e8b55933.tar.gz
dotfiles-5844e63cc603ddbc30aa8558ed9290d9e8b55933.tar.bz2
dotfiles-5844e63cc603ddbc30aa8558ed9290d9e8b55933.zip
Fix diff-hl magit hooks
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 3ea4b91..aec45aa 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -184,6 +184,7 @@
mode-line-position
"%l :%2c"))
+(add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
;;; Variables