mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 14:33:29 +00:00
Register decorator token type to avoid panic
This commit is contained in:
parent
27e17ffd27
commit
5804412869
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ macro_rules! define_semantic_token_types {
|
||||||
SemanticTokenType::TYPE_PARAMETER,
|
SemanticTokenType::TYPE_PARAMETER,
|
||||||
SemanticTokenType::TYPE,
|
SemanticTokenType::TYPE,
|
||||||
SemanticTokenType::VARIABLE,
|
SemanticTokenType::VARIABLE,
|
||||||
|
SemanticTokenType::DECORATOR,
|
||||||
$($ident),*
|
$($ident),*
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue