aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <[email protected]>2024-05-06 16:28:56 -0400
committerDaniel <[email protected]>2024-05-06 16:28:56 -0400
commitb23f9b56bdb2561756e1aa0222c40609c8aaf22e (patch)
tree40bb915b162a84d179781fdbe20f460c6aee9123
parent221ab3bb418ff677430aedbda5083238ce576f02 (diff)
diff hl for fringe diffs
-rw-r--r--bard-emacs-modules/bard-emacs-prog.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/bard-emacs-modules/bard-emacs-prog.el b/bard-emacs-modules/bard-emacs-prog.el
index f8b1fe4..9856d50 100644
--- a/bard-emacs-modules/bard-emacs-prog.el
+++ b/bard-emacs-modules/bard-emacs-prog.el
@@ -105,5 +105,10 @@
(:map ada-mode-map
("C-j" . dired-jump)))
+(use-package diff-hl
+ :after magit
+ (add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh)
+ (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))
+
(provide 'bard-emacs-prog)
;;; bard-emacs-prog.el ends here