From 5844e63cc603ddbc30aa8558ed9290d9e8b55933 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Feb 2023 23:37:11 -0500 Subject: Fix diff-hl magit hooks --- emacs/.emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') 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 -- cgit v1.2.1