mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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)
|
(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
|
||||||
|
Reference in New Issue
Block a user