semantic highlighting: add reference hlmod

This commit is contained in:
Jake Heinz
2021-07-31 04:42:47 +00:00
parent 14f00adcb1
commit 2baef17bb1
15 changed files with 68 additions and 38 deletions

View File

@@ -533,6 +533,7 @@ fn semantic_token_type_and_modifiers(
HlMod::Injected => semantic_tokens::INJECTED,
HlMod::ControlFlow => semantic_tokens::CONTROL_FLOW,
HlMod::Mutable => semantic_tokens::MUTABLE,
HlMod::Reference => semantic_tokens::REFERENCE,
HlMod::Consuming => semantic_tokens::CONSUMING,
HlMod::Async => semantic_tokens::ASYNC,
HlMod::Library => semantic_tokens::LIBRARY,