-
Hello 👋 I was fiddling with generics and noticed function names and arguments are not highlighted on all themes: I could not find an issue for that so wondering if it's actually impacting others? |
Beta Was this translation helpful? Give feedback.
Answered by
suzmue
Mar 16, 2022
Replies: 1 comment 2 replies
-
Hi @xlucas! It appears that the TextMate based syntax highlighting does not appropriately highlight generic code. If you use the semantic tokens provided by gopls instead, it does support generics! Add the following to your settings:
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
hyangah
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @xlucas!
It appears that the TextMate based syntax highlighting does not appropriately highlight generic code. If you use the semantic tokens provided by gopls instead, it does support generics!
Add the following to your settings: