Closed cloudhead closed 11 months ago
not a parse error, whatever highlights you have in the tool you use must be configured with the queries it uses
Ok, I'm using this library; is there a complete list of highlight groups somewhere? I find it strange that the attribute
group only highlights the first two characters.. is it because the code inside is a different language?
Are you using the cli with tree-sitter highlight
? If not, then whatever tool it is has the issue
I've figured it out, thanks and sorry for the noise. The problem was not understanding that tree-sitter will "nest" syntax groups.
The "attribute" highlight group only parses the
#[
and not the rest, eg. here it is highlighted in blue: