mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-04-27 23:31:20 -07:00
perf(smooth-scroll): suppress hl-todo, diff-hl-flydiff, & jit-lock
While scrolling.
This commit is contained in:
parent
4d44b78ccf
commit
061189953d
1 changed files with 5 additions and 1 deletions
|
|
@ -6,4 +6,8 @@
|
|||
:hook (doom-first-file . ultra-scroll-mode)
|
||||
:init
|
||||
(setq scroll-conservatively 101
|
||||
scroll-margin 0))
|
||||
scroll-margin 0)
|
||||
:config
|
||||
(add-hook 'ultra-scroll-hide-functions #'hl-todo-mode)
|
||||
(add-hook 'ultra-scroll-hide-functions #'diff-hl-flydiff-mode)
|
||||
(add-hook 'ultra-scroll-hide-functions #'jit-lock-mode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue