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:
parent
334157d741
commit
877008a00e
1 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
(defvar evil-collection-key-blacklist)
|
(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:
|
;; We load evil-collection ourselves for these reasons:
|
||||||
;;
|
;;
|
||||||
;; 1. To truly lazy load it. Some of its modules, like
|
;; 1. To truly lazy load it. Some of its modules, like
|
||||||
|
@ -23,9 +26,7 @@
|
||||||
(not (doom-context-p 'reload))
|
(not (doom-context-p 'reload))
|
||||||
(modulep! +everywhere))
|
(modulep! +everywhere))
|
||||||
|
|
||||||
(setq evil-collection-company-use-tng (modulep! :completion company +tng)
|
(setq evil-collection-company-use-tng (modulep! :completion company +tng))
|
||||||
;; must be set before evil/evil-collection is loaded
|
|
||||||
evil-want-keybinding nil)
|
|
||||||
|
|
||||||
(defvar +evil-collection-disabled-list
|
(defvar +evil-collection-disabled-list
|
||||||
'(anaconda-mode
|
'(anaconda-mode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue