8024: Added the trait modifier for methods
method in impls and method calls will have trait modifier.
This commit is contained in:
@@ -474,6 +474,7 @@ fn semantic_token_type_and_modifiers(
|
||||
HlMod::Callable => semantic_tokens::CALLABLE,
|
||||
HlMod::Static => lsp_types::SemanticTokenModifier::STATIC,
|
||||
HlMod::IntraDocLink => semantic_tokens::INTRA_DOC_LINK,
|
||||
HlMod::Trait => semantic_tokens::TRAIT_MODIFIER,
|
||||
HlMod::Associated => continue,
|
||||
};
|
||||
mods |= modifier;
|
||||
|
||||
Reference in New Issue
Block a user