Emacs: enable git-gutter after tweaking fringes
Alan Pearce alan@alanpearce.eu
Thu, 23 Apr 2020 13:15:18 +0200
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -454,7 +454,6 @@ (eval-when-compile (require 'fringe-helper)) (use-package git-gutter-fringe :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. @@ -466,7 +465,8 @@ (fringe-helper-define 'git-gutter-fr:modified '(center repeated) ".XXX....") (fringe-helper-define 'git-gutter-fr:deleted '(center repeated) ".XXX....") - (setq git-gutter-fr:side 'right-fringe))) + (setq git-gutter-fr:side 'right-fringe) + (global-git-gutter-mode 1))) (use-package git-messenger :commands (git-messenger:popup-message)