Parcourir la source

Disable global diff-hl

Simon Watson il y a 3 ans
Parent
commit
193099abba
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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)