Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 5804412

Browse files
author
Jonas Schievink
committed
Register decorator token type to avoid panic
1 parent 27e17ff commit 5804412

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/rust-analyzer/src/semantic_tokens.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ macro_rules! define_semantic_token_types {
3232
SemanticTokenType::TYPE_PARAMETER,
3333
SemanticTokenType::TYPE,
3434
SemanticTokenType::VARIABLE,
35+
SemanticTokenType::DECORATOR,
3536
$($ident),*
3637
];
3738
};

0 commit comments

Comments
 (0)