Switch to upstream ENUM_MEMBER
This commit is contained in:
parent
b527257330
commit
36692bdffa
@ -24,6 +24,7 @@ macro_rules! define_semantic_token_types {
|
||||
SemanticTokenType::CLASS,
|
||||
SemanticTokenType::INTERFACE,
|
||||
SemanticTokenType::ENUM,
|
||||
SemanticTokenType::ENUM_MEMBER,
|
||||
SemanticTokenType::TYPE_PARAMETER,
|
||||
SemanticTokenType::FUNCTION,
|
||||
SemanticTokenType::MEMBER,
|
||||
@ -40,7 +41,6 @@ macro_rules! define_semantic_token_types {
|
||||
(ATTRIBUTE, "attribute"),
|
||||
(BOOLEAN, "boolean"),
|
||||
(BUILTIN_TYPE, "builtinType"),
|
||||
(ENUM_MEMBER, "enumMember"),
|
||||
(ESCAPE_SEQUENCE, "escapeSequence"),
|
||||
(FORMAT_SPECIFIER, "formatSpecifier"),
|
||||
(GENERIC, "generic"),
|
||||
|
@ -369,7 +369,7 @@ fn semantic_token_type_and_modifiers(
|
||||
mods |= lsp_types::SemanticTokenModifier::STATIC;
|
||||
lsp_types::SemanticTokenType::VARIABLE
|
||||
}
|
||||
HighlightTag::EnumVariant => semantic_tokens::ENUM_MEMBER,
|
||||
HighlightTag::EnumVariant => lsp_types::SemanticTokenType::ENUM_MEMBER,
|
||||
HighlightTag::Macro => lsp_types::SemanticTokenType::MACRO,
|
||||
HighlightTag::ValueParam => lsp_types::SemanticTokenType::PARAMETER,
|
||||
HighlightTag::Local => lsp_types::SemanticTokenType::VARIABLE,
|
||||
|
Loading…
Reference in New Issue
Block a user