Auto merge of #13099 - jonas-schievink:add-decorator-token, r=jonas-schievink

fix: Register decorator token type to avoid panic

Followup to https://github.com/rust-lang/rust-analyzer/pull/13084
This commit is contained in:
bors 2022-08-23 15:47:21 +00:00
commit 8dcf4c70c4

View file

@ -32,6 +32,7 @@ macro_rules! define_semantic_token_types {
SemanticTokenType::TYPE_PARAMETER,
SemanticTokenType::TYPE,
SemanticTokenType::VARIABLE,
SemanticTokenType::DECORATOR,
$($ident),*
];
};