mikavilpas / evil-lispy

precision Lisp editing with Evil and Lispy
79 stars 5 forks source link

In consistent with lispy for "[" and "]" in strings or comments #21

Open yangsheng6810 opened 5 years ago

yangsheng6810 commented 5 years ago

In lispy, typing "[" or "]" in a string or a comment will go out of the current string, calling lispy-left or lispy-right, while in evil-lispy, it will self-insert "[" or "]". It seems related to

(evil-lispy/defnonstring-action evil-lispy/insert-to-lispy-right
  evil-lispy/enter-state-right)
(evil-lispy/defnonstring-action evil-lispy/insert-to-lispy-left
  evil-lispy/enter-state-left)

in evil-lispy-core.el.