hlissner / evil-multiedit

Multiple cursors for evil-mode, based on iedit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symbol's value as variable is void: evil-multiedit-state-map

bangedorrunt opened this issue · comments

hi,

i'm using spacemacs and got this error pop up in message buffer everytime i start the editor

Symbol’s value as variable is void: evil-multiedit-state-map

have you got any idea how to fix it?

Ah, yes. Looks like there were changes upstream.

For now, you can fix this by adding the following anywhere before the (require 'evil-multiedit):

(defvar evil-multiedit-state-map (make-sparse-keymap))
;; preemptively fix a variable that is likely missing as well
(defvar evil-multiedit-insert-state-map (make-sparse-keymap))

I'll let you know once I fix this in the package.

Looking over this now, and I can't seem to reproduce it. The fix above should still work though. Do you still have this problem without it?