vscode-go-grammar

A detailed TextMate grammar for Go

MIT License

Downloads
9
Stars
9
Committers
2

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.