summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2019-10-09 22:34:55 +0200
committerAlan Pearce2019-10-09 22:34:55 +0200
commitda7c91c51d080b304e55b36dbff6b3283fdf4969 (patch)
tree14cbbf64453a06da6379e316c8ce5587b45a0eb7 /user
parent5a3de041222846e71d33a6c3ec227b75a646bd9d (diff)
downloadnixfiles-da7c91c51d080b304e55b36dbff6b3283fdf4969.tar.lz
nixfiles-da7c91c51d080b304e55b36dbff6b3283fdf4969.tar.zst
nixfiles-da7c91c51d080b304e55b36dbff6b3283fdf4969.zip
Emacs: trigger git-gutter updates with magit actions
Diffstat (limited to 'user')
-rw-r--r--user/emacs/.emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index a6ff1f6c..689fe690 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -407,6 +407,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :defer 5
   :config (progn
             (global-git-gutter-mode 1)
+            (add-hook 'magit-post-refresh-hook
+                      #'git-gutter:update-all-windows)
             ;; places the git gutter outside the margins.
             (setq-default fringes-outside-margins nil)
             ;; thin fringe bitmaps