Closed matkuki closed 2 years ago
Scratch that, I think that is my mistake in the way I parse nodes. Sorry
The variables are like macros in C, ideally, they should be highlighted based on the context they are used. This feature isn't implemented in tree-sitter.
Hi @alemuller,
Excellent work on the rewrite 👍
There is still an issue with strings that contain $ variables. When a variable is inserted, everything after a variable is not a string anymore. For example: and:
Same goes for variable declaration. This is good: and this cancels the string: