summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org14
1 files changed, 7 insertions, 7 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index bdea6d6..ab74728 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -460,19 +460,19 @@ occasions that I’m working with something other than git.
               (setq vc-follow-symlinks t)))
 #+END_SRC
 
-** diff-hl
+** git-gutter-fringe
 
 It’s nice to be able to see at a glance which lines of a file have
-changed.  This package colours the fringe
+changed.  This package colours the fringe.  I have it set to the right
+fringe so it doesn’t interfere with flycheck.
 
 #+BEGIN_SRC emacs-lisp
-  (use-package diff-hl
+  (use-package git-gutter-fringe
     :defer 2
+    :diminish git-gutter-mode
     :config (progn
-              (global-diff-hl-mode 1)
-              (add-hook 'dired-mode-hook (lambda ()
-                                           (diff-hl-dired-mode 1)))
-              (add-hook 'magit-post-refresh-hook #'diff-hl-magit-post-refresh)))
+              (global-git-gutter-mode)
+              (setq git-gutter-fr:side 'right-fringe)))
 #+END_SRC
 
 ** magit