Support evil-collection-setup-minibuffer

This commit is contained in:
Henrik Lissner 2020-04-27 16:32:21 -04:00
parent 0c80ba1221
commit e9b288744d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -258,6 +258,9 @@ and complains if a module is loaded too early (during startup)."
(+evil-collection-init 'elisp-mode))
(add-transient-hook! 'occur-mode
(+evil-collection-init '(occur replace)))
(add-transient-hook! 'minibuffer-setup-hook
(when evil-collection-setup-minibuffer
(+evil-collection-init 'minibuffer)))
;; HACK Do this ourselves because evil-collection break's `eval-after-load'
;; load order by loading their target plugin before applying keys. This