zdharma-continuum / fast-syntax-highlighting

Feature-rich syntax highlighting for ZSH
BSD 3-Clause "New" or "Revised" License
1.15k stars 75 forks source link

[BUG] syntax highlight for nested arithmetic expressions is wrong #14

Open CoelacanthusHex opened 2 years ago

CoelacanthusHex commented 2 years ago

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.