mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
perf(evil): lazy load evil-collection-shortdoc
Another package that Emacs loads eagerly at startup, that ends up pulling in evil-collection et co.
This commit is contained in:
@ -45,6 +45,7 @@
|
||||
kotlin-mode
|
||||
occur
|
||||
outline
|
||||
shortdoc
|
||||
simple
|
||||
slime
|
||||
lispy)
|
||||
@ -328,6 +329,8 @@ and complains if a module is loaded too early (during startup)."
|
||||
(evil-collection-minibuffer-insert)))
|
||||
(add-transient-hook! 'process-menu-mode
|
||||
(+evil-collection-init '(process-menu simple)))
|
||||
(add-transient-hook! 'shortdoc-mode
|
||||
(+evil-collection-init 'shortdoc))
|
||||
(add-transient-hook! 'tabulated-list-mode
|
||||
(+evil-collection-init 'tabulated-list))
|
||||
(add-transient-hook! 'tab-bar-mode
|
||||
|
Reference in New Issue
Block a user