alemuller / tree-sitter-make

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

String parsing mistake

matkuki opened this issue Β· comments

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:
image
and:
image

Same goes for variable declaration. This is good:
image
and this cancels the string:
image

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.