mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Use builtin scopes more
This commit is contained in:
parent
f3fe6561c0
commit
fe435ffb27
2 changed files with 2 additions and 11 deletions
|
@ -40,7 +40,7 @@ macro_rules! define_semantic_token_types {
|
|||
define_semantic_token_types![
|
||||
(ATTRIBUTE, "attribute"),
|
||||
(BOOLEAN, "boolean"),
|
||||
(BUILTIN_TYPE, "builtinType"),
|
||||
(BUILTIN_TYPE, "type.defaultLibrary"),
|
||||
(ESCAPE_SEQUENCE, "escapeSequence"),
|
||||
(FORMAT_SPECIFIER, "formatSpecifier"),
|
||||
(GENERIC, "generic"),
|
||||
|
@ -70,7 +70,7 @@ macro_rules! define_semantic_token_modifiers {
|
|||
}
|
||||
|
||||
define_semantic_token_modifiers![
|
||||
(CONSTANT, "constant"),
|
||||
(CONSTANT, "readonly"),
|
||||
(CONTROL_FLOW, "controlFlow"),
|
||||
(INJECTED, "injected"),
|
||||
(MUTABLE, "mutable"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue