Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Textmate scopes for keyword.operator.arithmetic #24

Open
nan0tube opened this issue May 27, 2021 · 0 comments
Open

Incorrect Textmate scopes for keyword.operator.arithmetic #24

nan0tube opened this issue May 27, 2021 · 0 comments

Comments

@nan0tube
Copy link

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: golang/vscode-go#1524

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant