summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.el3
-rw-r--r--config.org3
2 files changed, 4 insertions, 2 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 . "┃")
diff --git a/config.org b/config.org
index c5fd719..db84ab2 100644
--- a/config.org
+++ b/config.org
@@ -3035,7 +3035,8 @@ BODY is the xonsh script. PARAMS may include :dir and :cmdline."
#+begin_src emacs-lisp
(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 . "┃")