mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(evil): set evil-want-keybinding sooner
Early loading of evil-collection may trigger an annoying (and unsuppressable) warning, otherwise.
This commit is contained in:
@ -2,6 +2,9 @@
|
||||
|
||||
(defvar evil-collection-key-blacklist)
|
||||
|
||||
;; must be set before evil/evil-collection is loaded
|
||||
(defvar evil-want-keybinding nil)
|
||||
|
||||
;; We load evil-collection ourselves for these reasons:
|
||||
;;
|
||||
;; 1. To truly lazy load it. Some of its modules, like
|
||||
@ -23,9 +26,7 @@
|
||||
(not (doom-context-p 'reload))
|
||||
(modulep! +everywhere))
|
||||
|
||||
(setq evil-collection-company-use-tng (modulep! :completion company +tng)
|
||||
;; must be set before evil/evil-collection is loaded
|
||||
evil-want-keybinding nil)
|
||||
(setq evil-collection-company-use-tng (modulep! :completion company +tng))
|
||||
|
||||
(defvar +evil-collection-disabled-list
|
||||
'(anaconda-mode
|
||||
|
Reference in New Issue
Block a user