String parsing mistake
matkuki opened this issue Β· comments
matkuki commented
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:
matkuki commented
Scratch that, I think that is my mistake in the way I parse nodes. Sorry
Alexandre A. Muller commented
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.