diff options
author | Chetan Khilosiya <[email protected]> | 2021-03-29 18:27:05 +0100 |
---|---|---|
committer | Chetan Khilosiya <[email protected]> | 2021-03-30 20:01:15 +0100 |
commit | f269fe71569984dea7738926d164f284552196ed (patch) | |
tree | 994fb62cf27c4c65ba841074664f9516ad780565 /crates/rust-analyzer/src/semantic_tokens.rs | |
parent | fd7c454d516e3af90d8c0d0d8a22655345fec2d7 (diff) |
8024: Added the trait modifier for methods
method in impls and method calls will have trait modifier.
Diffstat (limited to 'crates/rust-analyzer/src/semantic_tokens.rs')
-rw-r--r-- | crates/rust-analyzer/src/semantic_tokens.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/semantic_tokens.rs b/crates/rust-analyzer/src/semantic_tokens.rs index a3c5e9ccf..2dc8a42f1 100644 --- a/crates/rust-analyzer/src/semantic_tokens.rs +++ b/crates/rust-analyzer/src/semantic_tokens.rs | |||
@@ -88,6 +88,7 @@ define_semantic_token_modifiers![ | |||
88 | (CONSUMING, "consuming"), | 88 | (CONSUMING, "consuming"), |
89 | (UNSAFE, "unsafe"), | 89 | (UNSAFE, "unsafe"), |
90 | (ATTRIBUTE_MODIFIER, "attribute"), | 90 | (ATTRIBUTE_MODIFIER, "attribute"), |
91 | (TRAIT_MODIFIER, "trait"), | ||
91 | (CALLABLE, "callable"), | 92 | (CALLABLE, "callable"), |
92 | (INTRA_DOC_LINK, "intraDocLink"), | 93 | (INTRA_DOC_LINK, "intraDocLink"), |
93 | ]; | 94 | ]; |