We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dc980c commit c81d388Copy full SHA for c81d388
gopls/internal/settings/settings.go
@@ -1356,7 +1356,7 @@ func (o *Options) EnabledSemanticTokenModifiers() map[semtok.Modifier]bool {
1356
// EncodeSemanticTokenTypes returns a map of types to boolean.
1357
func (o *Options) EnabledSemanticTokenTypes() map[semtok.Type]bool {
1358
copy := make(map[semtok.Type]bool, len(o.SemanticTokenTypes))
1359
- for k, v := range o.SemanticTokenModifiers {
+ for k, v := range o.SemanticTokenTypes {
1360
copy[semtok.Type(k)] = v
1361
}
1362
if o.NoSemanticString {
0 commit comments