### Expected Behavior/Parse Tree
I expected this to happen:
Syntax highlighting for string would be correct, like on the first line.
Instead, this happened:
Seems for some reason the next line with `MOVE_BACK` with the first `"` is not start of string?
### Repro
_No response_
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)No response
Describe the bug
Hey, I first created this bug to Helix issue tracker but I was told to report it here.
The bug
If I create a map with strings as keys, the coloring seems to get confused.
Best shown with a screenshot:
The first line,
MOVE_FRONT
, is correct. Any subsequent lines look wrong.Tree-sitter scopes seem to error out?
Steps To Reproduce/Bad Parse Tree
WeirdMap := map[string]bool \ { "MOVE_FRONT" = rl.IsKeyDown(cast(rl.KeyboardKey)settings.Values.keyMoveForward), "MOVE_BACK" = rl.IsKeyDown(cast(rl.KeyboardKey)settings.Values.keyMoveBackward), "MOVE_RIGHT" = rl.IsKeyDown(cast(rl.KeyboardKey)settings.Values.keyMoveRight), "MOVE_LEFT" = rl.IsKeyDown(cast(rl.KeyboardKey)settings.Values.keyMoveLeft), }