Browse Source

Disable global diff-hl

Simon Watson 3 years ago
parent
commit
193099abba
1 changed files with 3 additions and 1 deletions
  1. 3 1
      emacs/.emacs-all

+ 3 - 1
emacs/.emacs-all

@@ -43,7 +43,9 @@
 ;; Git stuff
 (require 'magit)
 (require 'diff-hl)
-(global-diff-hl-mode)
+;; Just enable diff-hl per buffer,
+;; it seems expensive 
+; (global-diff-hl-mode)
 (add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh)
 (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
 (diff-hl-margin-mode t)