tweak(vc-gutter): disable diff-hl-mode in pdf-view-mode

This commit is contained in:
Henrik Lissner 2024-08-21 05:01:45 -04:00
parent ded3f5ec83
commit ff9c59df46
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -77,6 +77,7 @@ Respects `diff-hl-disable-on-remote'."
:config
(set-popup-rule! "^\\*diff-hl" :select nil :size '+popup-shrink-to-fit)
(setq diff-hl-global-modes '(not image-mode pdf-view-mode))
;; PERF: A slightly faster algorithm for diffing.
(setq vc-git-diff-switches '("--histogram"))
;; PERF: Slightly more conservative delay before updating the diff