zdharma-continuum / fast-syntax-highlighting

Feature-rich syntax highlighting for ZSH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] syntax highlight for nested arithmetic expressions is wrong

CoelacanthusHex opened this issue · comments

install f-s-h, and type this code in zsh:

echo $((((((1))+2))+3-$((6)))) 

it will look like this:
图片
But the two parentheses around the right side 6 should use the same color, because they, like the two outermost parentheses, represent the overall arithmetic syntax.