Closed huyhoang8398 closed 1 year ago
I'm afraid not, because Tree-sitter applies a different capture group whether the variable is between brackets or not:
When the variable is not surrounded with brackets, the capture group is @punctuation.special.bash
:
However, when the variable is surrounded with brackets, the capture group is @punctuation.bracket.bash
:
That is something which can only be tackled in the Tree-sitter parser, not the colorscheme.
Is this possible to have a better highlight with treesitter for variable quoted by {} in shell script?