You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After writing \t and then [, the closing ] is inserted. Then, when typing the ] to skip over the closing brace, a second ] is inserted. This doesn't happen if there's no \t before. Newlines after the \t don't help, and it goes for other parens types too. Extra \t's do not cancel the effect.
The issue was that by using sp--search-backward-regexp we allowed checks
which did not end on point and so could pick up any escaped character
previously inserted in the buffer.
jojojames
pushed a commit
to jojojames/smartparens
that referenced
this issue
Mar 31, 2017
After writing
\t
and then[
, the closing]
is inserted. Then, when typing the]
to skip over the closing brace, a second]
is inserted. This doesn't happen if there's no\t
before. Newlines after the\t
don't help, and it goes for other parens types too. Extra\t
's do not cancel the effect.See https://asciinema.org/a/1uzd1icbenzjtrif1d55w0lty for demonstration running under emacs -Q.
The text was updated successfully, but these errors were encountered: