Add semantic highlight to QUESTION token
Made it an operator with controlFlow modifier.
This commit is contained in:
@@ -317,6 +317,7 @@ fn semantic_token_type_and_modifiers(
|
||||
HighlightTag::Keyword => lsp_types::SemanticTokenType::KEYWORD,
|
||||
HighlightTag::UnresolvedReference => semantic_tokens::UNRESOLVED_REFERENCE,
|
||||
HighlightTag::FormatSpecifier => semantic_tokens::FORMAT_SPECIFIER,
|
||||
HighlightTag::Operator => lsp_types::SemanticTokenType::OPERATOR,
|
||||
};
|
||||
|
||||
for modifier in highlight.modifiers.iter() {
|
||||
|
||||
Reference in New Issue
Block a user