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

x/tools/gopls: semantic tokens classifies "return" and "false" as the same #42682

Open
stamblerre opened this issue Nov 17, 2020 · 1 comment
Labels
gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.

Comments

@stamblerre
Copy link
Contributor

stamblerre commented Nov 17, 2020

return false has the same coloring for both words--the default textmate syntax highlighting has different colors for the two. I'm guessing that false is being classified as a keyword rather than a value?

Screen Shot 2020-11-17 at 5 14 55 PM

/cc @pjweinb

@stamblerre stamblerre added this to the gopls/unplanned milestone Nov 17, 2020
@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Nov 17, 2020
@pjweinb
Copy link

pjweinb commented Nov 17, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
No open projects
Development

No branches or pull requests

3 participants