Closed orialb closed 4 years ago
This is a small fix to prevent julia-snail--identifier-at-point from capturing $. If the $ is captured it breaks julia-snail--repl-completions because it will send a command of the form:
julia-snail--identifier-at-point
$
julia-snail--repl-completions
"JuliaSnail.replcompletion(\"$identifier\",ModuleName)"
and Julia will try to interpolate the variable identifier, which is of course undefined.
identifier
One could also escape the $ in the command sent, but since I don't think it can be a part of a name of a valid symbol I think we can just ignore it.
This is a small fix to prevent
julia-snail--identifier-at-point
from capturing$
. If the$
is captured it breaksjulia-snail--repl-completions
because it will send a command of the form:and Julia will try to interpolate the variable
identifier
, which is of course undefined.One could also escape the $ in the command sent, but since I don't think it can be a part of a name of a valid symbol I think we can just ignore it.