summaryrefslogtreecommitdiff
path: root/config.el
diff options
context:
space:
mode:
Diffstat (limited to 'config.el')
-rw-r--r--config.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.el b/config.el
index 0eb49da..5d5d8c8 100644
--- a/config.el
+++ b/config.el
@@ -2504,7 +2504,8 @@ BODY is the xonsh script. PARAMS may include :dir and :cmdline."
(use-package diff-hl
:ensure t
- :hook ((prog-mode text-mode conf-mode) . diff-hl-mode)
+ :hook (((prog-mode text-mode conf-mode) . diff-hl-mode)
+ (magit-post-refresh . diff-hl-magit-post-refresh))
:custom
(diff-hl-margin-symbols-alist
'((insert . "┃") (delete . "▁") (change . "┃")