Closed alexr00 closed 5 years ago
Thanks for the report! Looks like this isn't an issue with Tree-sitter (1.40.0-nightly15 on macOS 10.12.6):
Value1
gets scopevariable.other.assignment.go
, and the other values just getsource.go
. I think that Value1 shouldn't have a different scope here.
With the cursor on Value1
:
So we'll go ahead and close, but let me know if I'm misunderstanding :v:
As you may have heard, we are migrating from our old first-mate grammar engine to the new Tree-sitter engine. This will enable a number of new features, more consistent syntax highlighting, and better performance, among other benefits. In order to free up our limited resources, we have decided to stop maintaining the first-mate grammar when there is a built-in Tree-sitter grammar available. Since this issue applies only to the first-mate grammar, we are going to close it. Please let us know if we have misunderstood the description of the problem.
Originally from @segevfiner in https://github.com/microsoft/vscode/issues/76073
Sample code:
Value1
gets scopevariable.other.assignment.go
, and the other values just getsource.go
. I think that Value1 shouldn't have a different scope here.