commit 193099abbaf11d9419103eee94f29b46df6e7aad
Author: Simon Watson <spw01@protonmail.com>
Date: Sun Jul 11 21:18:01 2021 -0400
Disable global diff-hl
diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index 438241f..e728e79 100644
--- a/emacs/.emacs-all
+++ b/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)