summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-09-29 21:20:50 +0100
committerAlan Pearce2013-09-29 21:20:50 +0100
commit6a418f791a153951437596103c7695edae2474e9 (patch)
treebc7c054feada871853f8ea653b0b935cfb021ba4 /emacs
parenta4c0bc93085ff47092115fdf8c9cc1ac7dc70eab (diff)
downloaddotfiles-6a418f791a153951437596103c7695edae2474e9.tar.lz
dotfiles-6a418f791a153951437596103c7695edae2474e9.tar.zst
dotfiles-6a418f791a153951437596103c7695edae2474e9.zip
Emacs: install and enable diff-hl-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 769c703..618e718 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -775,6 +775,10 @@ Also returns nil if pid is nil."
   :config (progn
             (setq vc-follow-symlinks t)))
 
+(use-package diff-hl
+  :ensure t
+  :init (global-diff-hl-mode))
+
 (use-package magit
   :commands (magit-status)
   :bind (("C-x g" . magit-status)