mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 22:13:39 +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,
|
||||
SemanticTokenType::VARIABLE,
|
||||
SemanticTokenType::DECORATOR,
|
||||
$($ident),*
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue