Skip to content

Commit c81d388

Browse files
committed
gopls/internal/settings: correct source SemanticTokenTypes
1 parent 5dc980c commit c81d388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gopls/internal/settings/settings.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ func (o *Options) EnabledSemanticTokenModifiers() map[semtok.Modifier]bool {
13561356
// EncodeSemanticTokenTypes returns a map of types to boolean.
13571357
func (o *Options) EnabledSemanticTokenTypes() map[semtok.Type]bool {
13581358
copy := make(map[semtok.Type]bool, len(o.SemanticTokenTypes))
1359-
for k, v := range o.SemanticTokenModifiers {
1359+
for k, v := range o.SemanticTokenTypes {
13601360
copy[semtok.Type(k)] = v
13611361
}
13621362
if o.NoSemanticString {

0 commit comments

Comments
 (0)