mikavilpas / evil-lispy

precision Lisp editing with Evil and Lispy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recovering from "Scan error: Unbalanced parenthesis"?

bpstahlman opened this issue · comments

I have the following snippet of (pointless) scheme code:

(foo (foo
      43
      (+ 41 (foo 1 2

Evil-lispy will not allow me to close the parens at the end of the 3rd line. Can't remember how they got unbalanced, but when it gets to that state, is there a way to force a re-balancing, or perhaps force the insertion manually? More generally, what is evil-lispy's philosophy regarding balanced parens?

Ah, I hit this case every so often too. With evil-mode, you can do <insert-state> C-q ) to insert a literal paren.
I think lispy expects the programmer to fix these kinds of errors himself.

Ah yes. That did it. Thanks.
Brett S.

On Sep 7, 2016 2:05 PM, "Mika Vilpas" notifications@github.com wrote:

Ah, I hit this case every so often too. With evil-mode, you can do
C-q ) to insert a literal paren.
I think lispy expects the programmer to fix these kinds of errors himself.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC7pQDYNN0jl6s5RDFal4bMkJMSG8tHYks5qnwr4gaJpZM4J0YPf
.