Open
Description
% tests/generate.zsh $'echo foo\\\nbar"baz"' main backslash-continuation2
BUFFER=$'echo foo\\\nbar"baz"'
expected_region_highlight=(
'1 4 builtin' # echo
'6 16 default' # foo\\\nbar"ba
'12 16 double-quoted-argument' # ar"ba
)
What happens is that ${(z)} eats the backslash for us:
% pz $'echo foo\\\nbar"baz"'
$'echo'
$'foobar"baz"'
%
… but we don't account for that.