Skip to content

worlpaker/go-syntax

Repository files navigation

Go Syntax

Rich Syntax Highlighting for Go language

With this extension, your favorite theme will be able to color your code better.

About

Go Syntax improves your coding experience by providing client-side syntax highlighting based on TextMate rules. This means you can enjoy advanced code coloring without relying on the Language Server Protocol (LSP).

Go Syntax is compatible with various platforms, including web-based code editors like vscode.dev and github.dev.

⚠️ Note: Gopls' ui.semanticTokens setting is disabled by default and shouldn't be enabled if you want to use this extension.

Comparisons (Before - After)

Dark+ Theme - Before

dark+_before

Dark+ Theme - After

dark+_after

Dracula Theme - Before

dracula_before

Dracula Theme - After

dracula_after

Ayu Dark Theme - Before

ayudark_before

Ayu Dark Theme - After

ayudark_after

Contributing

Yes, please! Feel free to contribute.

Credits

This extension enhances better-go-syntax with new features.

Semantic tokens tested thanks to the vscode-tmgrammar-test.

License

MIT