From b302930a518850c06d68da25bc38f3e254dbecc4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 10 Jun 2023 18:17:07 +0200 Subject: Emacs: auto-refresh magit status buffers --- user/emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'user/emacs/init.el') diff --git a/user/emacs/init.el b/user/emacs/init.el index 84c905b1..b78c30cd 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -943,6 +943,10 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (remove-hook 'magit-section-highlight-hook 'magit-section-highlight-selection) (remove-hook 'magit-section-highlight-hook 'magit-diff-highlight))) +(use-package magit-filenotify + :after magit + :ghook '(magit-status-mode-hook)) + (use-package git-gutter-fringe :defer 5 :config (progn -- cgit 1.4.1