You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Comments inside the var statement do not have the right color
Steps to Reproduce
Use the below content:
package main
var/**/x/**/, y=/**/1/**/, 2/**/funcmain() {}
It appears as below in VS Code that uses the same grammar as available in this repo
Expected behavior: [What you expect to happen]
The comment right next to var should have the scope punctuation.definition.comment.go
The variable x should have the scope variable.other.assignment.go
Actual behavior: [What actually happens]
The comment right next to var has the scope keyword.operator.arithmetic.go
The variable x has the scope source.go
The text was updated successfully, but these errors were encountered:
Description
Comments inside the var statement do not have the right color
Steps to Reproduce
Use the below content:
It appears as below in VS Code that uses the same grammar as available in this repo
Expected behavior: [What you expect to happen]
The comment right next to
var
should have the scopepunctuation.definition.comment.go
The variable
x
should have the scopevariable.other.assignment.go
Actual behavior: [What actually happens]
The comment right next to
var
has the scopekeyword.operator.arithmetic.go
The variable
x
has the scopesource.go
The text was updated successfully, but these errors were encountered: