Skip to content

Commit

Permalink
Cleanup loading of unimpaired in evil-collection-init
Browse files Browse the repository at this point in the history
  • Loading branch information
justbur committed Oct 9, 2019
1 parent 726f37d commit b486559
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions evil-collection.el
Original file line number Diff line number Diff line change
Expand Up @@ -559,11 +559,8 @@ 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
(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))))
(evil-collection-require 'unimpaired)
(evil-collection-unimpaired-setup)))

(defvar evil-collection-delete-operators '(evil-delete
evil-cp-delete
Expand Down

0 comments on commit b486559

Please sign in to comment.