Clarify the meaning of no-op highlight tag

This commit is contained in:
Aleksey Kladov
2020-12-19 17:16:05 +03:00
parent a13947abe6
commit 113688cef0
4 changed files with 14 additions and 15 deletions

View File

@@ -406,7 +406,7 @@ fn semantic_token_type_and_modifiers(
SymbolKind::Macro => lsp_types::SemanticTokenType::MACRO,
},
HighlightTag::BuiltinType => semantic_tokens::BUILTIN_TYPE,
HighlightTag::Generic => semantic_tokens::GENERIC,
HighlightTag::Dummy => semantic_tokens::GENERIC,
HighlightTag::ByteLiteral | HighlightTag::NumericLiteral => {
lsp_types::SemanticTokenType::NUMBER
}