Fuco1 / smartparens

Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
GNU General Public License v3.0
1.8k stars 193 forks source link

wrong sp-up-sexp in string with single quote #1197

Open Fuco1 opened 3 months ago

Fuco1 commented 3 months ago

Expected behavior

In emacs-lisp-mode

"(foo (bar) | 'baz 'qux)(foo (bar) 'baz 'qux)"

should become

"(foo (bar)  'baz 'qux)|(foo (bar) 'baz 'qux)"

after sp-up-sexp.

Actual behavior

"(foo (bar)  'baz 'qux)(foo (bar) 'baz 'qux)|"