mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Prevent evil-collection loading too early
A recent update causes evil-collection-process-menu to load immediately at startup (because `simple` is loaded immediately), so we defer it until process-menu-mode is called. Loading process-menu so early pulls in evil far too early, causing other issues, like undoing all of evil's prior-to-loading keybindings.
This commit is contained in:
@ -174,7 +174,6 @@ variable for an explanation of the defaults (in comments). See
|
|||||||
(pdf pdf-tools)
|
(pdf pdf-tools)
|
||||||
popup
|
popup
|
||||||
proced
|
proced
|
||||||
(process-menu simple)
|
|
||||||
prodigy
|
prodigy
|
||||||
profiler
|
profiler
|
||||||
python
|
python
|
||||||
@ -264,6 +263,8 @@ and complains if a module is loaded too early (during startup)."
|
|||||||
(when evil-collection-setup-minibuffer
|
(when evil-collection-setup-minibuffer
|
||||||
(+evil-collection-init 'minibuffer)
|
(+evil-collection-init 'minibuffer)
|
||||||
(evil-collection-minibuffer-insert)))
|
(evil-collection-minibuffer-insert)))
|
||||||
|
(add-transient-hook! 'process-menu-mode
|
||||||
|
(+evil-collection-init '(process-menu simple)))
|
||||||
(add-transient-hook! 'xwidget-webkit-mode
|
(add-transient-hook! 'xwidget-webkit-mode
|
||||||
(+evil-collection-init 'xwidget))
|
(+evil-collection-init 'xwidget))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user