Closed
Description
First case: (#670.1)
% foobar='x=$(ls)'
% $foobar
highlights the ba
in green from ls
, as foreseen in #572 (comment).
Second case: (#670.2)
Exactly the same with a shorter parameter name:
% y='x=$(ls)'
% $y
zsh-syntax-highlighting: BUG: _zsh_highlight_highlighter_main_paint: start(2) >= end(2)