소스 검색

Disable global diff-hl

Simon Watson 3 년 전
부모
커밋
193099abba
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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)