better-go-syntax
better-go-syntax copied to clipboard
Incorrect Textmate scopes for keyword.operator.arithmetic
Under certain circumstances, *
is wrongly indicated as textmate scope keyword.operator.address.go
when used as a multiplication operator (keyword.operator.arithmetic.go
).
To reproduce, use the following:
package main
import "fmt"
func main() {
fmt.Print(1*2 + 3) // Bad - * indicated as keyword.operator.address.go
fmt.Print(4 * 5) // Good - * indicated as keyword.operator.arithmetic.go
}
Ref: https://github.com/golang/vscode-go/issues/1524