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
Took me a while to figure this one out, turns out that the issue is in lispy--delimiter-space-unless:
(defunlispy--delimiter-space-unless (preceding-syntax-alist)
"Like `lispy--space-unless' but use PRECEDING-SYNTAX-ALIST for decision.PRECEDING-SYNTAX-ALIST should be an alist of `major-mode' to a list of regexps.When `looking-back' at any of these regexps, whitespace, or a delimiter, do notinsert a space."
(lispy--space-unless
(concat"^\\|\\s-\\|" lispy-left
(lispy--preceding-syntax preceding-syntax-alist "\\|"))))
The problem is that \\s- does not match in the SLY REPL because spaces are not in the syntax table.
Easy fix: change \\s- for [[:space:]].
The text was updated successfully, but these errors were encountered:
Recipe:
(
Result:
instead of the expected
Took me a while to figure this one out, turns out that the issue is in
lispy--delimiter-space-unless
:The problem is that
\\s-
does not match in the SLY REPL because spaces are not in the syntax table.Easy fix: change
\\s-
for[[:space:]]
.The text was updated successfully, but these errors were encountered: