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 {
2424 SemanticTokenType :: CLASS ,
2525 SemanticTokenType :: INTERFACE ,
2626 SemanticTokenType :: ENUM ,
27+ SemanticTokenType :: ENUM_MEMBER ,
2728 SemanticTokenType :: TYPE_PARAMETER ,
2829 SemanticTokenType :: FUNCTION ,
2930 SemanticTokenType :: MEMBER ,
@@ -40,7 +41,6 @@ define_semantic_token_types![
4041 ( ATTRIBUTE , "attribute" ) ,
4142 ( BOOLEAN , "boolean" ) ,
4243 ( BUILTIN_TYPE , "builtinType" ) ,
43- ( ENUM_MEMBER , "enumMember" ) ,
4444 ( ESCAPE_SEQUENCE , "escapeSequence" ) ,
4545 ( FORMAT_SPECIFIER , "formatSpecifier" ) ,
4646 ( GENERIC , "generic" ) ,
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ fn semantic_token_type_and_modifiers(
369369 mods |= lsp_types:: SemanticTokenModifier :: STATIC ;
370370 lsp_types:: SemanticTokenType :: VARIABLE
371371 }
372- HighlightTag :: EnumVariant => semantic_tokens :: ENUM_MEMBER ,
372+ HighlightTag :: EnumVariant => lsp_types :: SemanticTokenType :: ENUM_MEMBER ,
373373 HighlightTag :: Macro => lsp_types:: SemanticTokenType :: MACRO ,
374374 HighlightTag :: ValueParam => lsp_types:: SemanticTokenType :: PARAMETER ,
375375 HighlightTag :: Local => lsp_types:: SemanticTokenType :: VARIABLE ,
You can’t perform that action at this time.
0 commit comments