diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init/ycp-vc.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/ycp-vc.el b/emacs/.emacs.d/init/ycp-vc.el index 7496cef..d30fcc7 100644 --- a/emacs/.emacs.d/init/ycp-vc.el +++ b/emacs/.emacs.d/init/ycp-vc.el @@ -81,7 +81,9 @@ (my-package diff-hl (:delay 30) (:install t) - (global-diff-hl-mode) + ;; diff-hl-mode can slow down things in buffers visiting large + ;; files, so here we only enable it for prog-mode + (add-hook 'prog-mode-hook diff-hl-mode) (diff-hl-flydiff-mode)) (my-package diffview |