vscode-go-grammar
v1.0.5
Published
A detailed TextMate grammar for Go
Downloads
5
Readme
Go Grammar
This extension provides a highly detailed VSCode TextMate grammar for Go. The TextMate scopes are mostly borrowed from Microsoft's TypeScript grammar, so it should work out-of-the-box with your favorite theme.
Do note that some of the highlights aren't quite right due to the limits of TextMate's grammar format (and the limits of my patience 🙂), particularly around variables vs packages vs types. If this sort of thing bugs you as much as it bugs me, you can install my patched version of gopls to fix it.