Address evil-collection-unimpaired not loading

This commit is contained in:
Jonathan Lai 2019-09-18 23:12:11 -07:00 committed by James N
parent aec0ecbb86
commit feda195a4b
1 changed files with 3 additions and 1 deletions

View File

@ -535,7 +535,9 @@ instead of the modes in `evil-collection-mode-list'."
(run-hook-with-args 'evil-collection-setup-hook
m mode-keymaps))))))
(when evil-collection-want-unimpaired-p
(require 'evil-collection-unimpaired)
(load (expand-file-name "modes/unimpaired/evil-collection-unimpaired"
evil-collection-base-dir)
nil t)
(when (fboundp 'evil-collection-unimpaired-setup)
(evil-collection-unimpaired-setup))))