uben0 / tree-sitter-typst

Tree Sitter grammar for Typst
MIT License
114 stars 10 forks source link

The `#` is not properly highlighted #33

Closed tapyu closed 5 months ago

tapyu commented 5 months ago

Helix uses this Tree sitter for Typst. I am pretty naive when it comes to Tree sitter functionalities, but I suppose it provides the syntax highlight for the editor. For some reason, variable calls aren't highlighted:

image

Where the variable dialog box comes from the command :tree-sitter-highlight-name.

It would be great to have this part of the code highlighted.