diff options
author | Alan Pearce | 2019-10-09 22:34:55 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-09 22:34:55 +0200 |
commit | da7c91c51d080b304e55b36dbff6b3283fdf4969 (patch) | |
tree | 14cbbf64453a06da6379e316c8ce5587b45a0eb7 /user | |
parent | 5a3de041222846e71d33a6c3ec227b75a646bd9d (diff) | |
download | nixfiles-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.el | 2 |
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 |