summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-09-05 23:32:25 +0200
committercashmere <cashmere@autistici.org>2026-09-05 23:33:45 +0200
commit1083569c5dc17d49fff09974e8bf6fe243a7cbbb (patch)
tree4d6f08df5f08e6f685d6e75a198090b7f98f02aa
parent5253925d78544f833f82b3016431279c71b8cb81 (diff)
downloademacs-1083569c5dc17d49fff09974e8bf6fe243a7cbbb.tar.gz
relic: 2026-09-05T23:32:31+02:00
-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 . "┃")