File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ extension.
9595<br /><em >(Toggle Test File)</em ></p >
9696
9797** ⚠️ Note** : the default syntax highlighting for Go files is provided by a
98- [ TextMate rule] ( https://github.com/jeff-hykin/better- go-syntax ) embedded in VS
98+ [ TextMate rule] ( https://github.com/worlpaker/ go-syntax ) embedded in VS
9999Code, not by this extension.
100100
101101For better syntax highlighting, we recommend enabling
Original file line number Diff line number Diff line change 55## Syntax highlighting doesn't seem to work.
66
77The default syntax highlighting for Go files is provided by a
8- [ TextMate rule] ( https://github.com/jeff-hykin/better- go-syntax ) embedded in VS Code,
8+ [ TextMate rule] ( https://github.com/worlpaker/ go-syntax ) embedded in VS Code,
99not by this extension.
1010
11- For better syntax highlighting (including generics support), we recommend enabling
11+ For accurate syntax highlighting (including generics support), we recommend enabling
1212[ semantic highlighting] ( https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide )
1313by turning on [ Gopls' ` ui.semanticTokens ` setting] ( settings.md#uisemantictokens ) .
1414
1515``` json
1616"gopls" : { "ui.semanticTokens" : true }
1717```
1818
19+ If you are experiencing issues with syntax highlighting, first check if you
20+ are using semantic highlighting. In case you did not enable semantic highlighting,
21+ report the issues to the [ go-syntax] ( https://github.com/worlpaker/go-syntax )
22+ project directly.
23+
1924## Code formatting by this extension doesn't seem to work.
2025
2126When you have multiple formatter extensions, be sure to set this
You can’t perform that action at this time.
0 commit comments