Fix evil-easymotion lazyloading middleman

It would fire off the wrong prefix when no operator was active (thus
passing nil to where-is-internal).

Reported by @ar1a
This commit is contained in:
Henrik Lissner 2018-06-22 10:24:48 +02:00
parent 99902b29f9
commit ab01e0167d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -45,8 +45,8 @@ integration."
(evil-define-key* 'motion 'global prefix nil)
(evilem-default-keybindings prefix)
(which-key-reload-key-sequence
(vconcat (where-is-internal evil-this-operator
(vconcat (when evil-this-operator
(where-is-internal evil-this-operator
evil-normal-state-map
t)
t))
prefix))))