File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ macro_rules! define_semantic_token_types {
24
24
SemanticTokenType :: CLASS ,
25
25
SemanticTokenType :: INTERFACE ,
26
26
SemanticTokenType :: ENUM ,
27
+ SemanticTokenType :: ENUM_MEMBER ,
27
28
SemanticTokenType :: TYPE_PARAMETER ,
28
29
SemanticTokenType :: FUNCTION ,
29
30
SemanticTokenType :: MEMBER ,
@@ -40,7 +41,6 @@ define_semantic_token_types![
40
41
( ATTRIBUTE , "attribute" ) ,
41
42
( BOOLEAN , "boolean" ) ,
42
43
( BUILTIN_TYPE , "builtinType" ) ,
43
- ( ENUM_MEMBER , "enumMember" ) ,
44
44
( ESCAPE_SEQUENCE , "escapeSequence" ) ,
45
45
( FORMAT_SPECIFIER , "formatSpecifier" ) ,
46
46
( GENERIC , "generic" ) ,
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ fn semantic_token_type_and_modifiers(
369
369
mods |= lsp_types:: SemanticTokenModifier :: STATIC ;
370
370
lsp_types:: SemanticTokenType :: VARIABLE
371
371
}
372
- HighlightTag :: EnumVariant => semantic_tokens :: ENUM_MEMBER ,
372
+ HighlightTag :: EnumVariant => lsp_types :: SemanticTokenType :: ENUM_MEMBER ,
373
373
HighlightTag :: Macro => lsp_types:: SemanticTokenType :: MACRO ,
374
374
HighlightTag :: ValueParam => lsp_types:: SemanticTokenType :: PARAMETER ,
375
375
HighlightTag :: Local => lsp_types:: SemanticTokenType :: VARIABLE ,
You can’t perform that action at this time.
0 commit comments