mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
perf(vc-gutter): diff-hl-update-async = t
Don't block Emacs when updating the gutter. Ref: #7923
This commit is contained in:
@ -61,6 +61,8 @@
|
||||
(setq vc-git-diff-switches '("--histogram"))
|
||||
;; PERF: Slightly more conservative delay before updating the diff
|
||||
(setq diff-hl-flydiff-delay 0.5) ; default: 0.3
|
||||
;; PERF: don't block Emacs when updating vc gutter
|
||||
(setq diff-hl-update-async t)
|
||||
|
||||
;; UX: get realtime feedback in diffs after staging/unstaging hunks.
|
||||
(setq diff-hl-show-staged-changes nil)
|
||||
|
Reference in New Issue
Block a user