summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el4
-rw-r--r--user/settings/emacs.nix1
2 files changed, 5 insertions, 0 deletions
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
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 5b703ce7..12eafe0c 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -138,6 +138,7 @@ in
         lispy
         lispyville
         magit
+        magit-filenotify
         markdown-mode
         marginalia
         nerd-icons