We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8317a3 commit 0bd6093Copy full SHA for 0bd6093
modules/nixos/programs/emacs/init.el
@@ -465,6 +465,9 @@
465
466
(use-package magit
467
:hook (magit-log-mode . magit-diff-show-or-scroll-up)
468
+ :init
469
+ (add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh)
470
+ (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
471
:custom
472
(magit-no-confirm '(set-and-push stage-all-changes unstage-all-changes))
473
(magit-bury-buffer-function #'magit-restore-window-configuration)
0 commit comments