Unnamed repository; edit this file 'description' to name the repository.
Move custom async modifier to standard one
Lukas Wirth 2024-03-17
parent 23fff55 · commit 640c8b7
-rw-r--r--crates/rust-analyzer/src/lsp/semantic_tokens.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/lsp/semantic_tokens.rs b/crates/rust-analyzer/src/lsp/semantic_tokens.rs
index a3906773ac..3e00222b75 100644
--- a/crates/rust-analyzer/src/lsp/semantic_tokens.rs
+++ b/crates/rust-analyzer/src/lsp/semantic_tokens.rs
@@ -127,6 +127,7 @@ macro_rules! define_semantic_token_modifiers {
define_semantic_token_modifiers![
standard {
+ ASYNC,
DOCUMENTATION,
DECLARATION,
STATIC,
@@ -134,7 +135,6 @@ define_semantic_token_modifiers![
}
custom {
(ASSOCIATED, "associated"),
- (ASYNC, "async"),
(ATTRIBUTE_MODIFIER, "attribute"),
(CALLABLE, "callable"),
(CONSTANT, "constant"),