Rename ‘foreign’ semantic token modifier to ‘library’
This commit is contained in:
@@ -92,7 +92,7 @@ define_semantic_token_modifiers![
|
||||
(MUTABLE, "mutable"),
|
||||
(CONSUMING, "consuming"),
|
||||
(ASYNC, "async"),
|
||||
(FOREIGN, "foreign"),
|
||||
(LIBRARY, "library"),
|
||||
(UNSAFE, "unsafe"),
|
||||
(ATTRIBUTE_MODIFIER, "attribute"),
|
||||
(TRAIT_MODIFIER, "trait"),
|
||||
|
||||
@@ -504,7 +504,7 @@ fn semantic_token_type_and_modifiers(
|
||||
HlMod::Mutable => semantic_tokens::MUTABLE,
|
||||
HlMod::Consuming => semantic_tokens::CONSUMING,
|
||||
HlMod::Async => semantic_tokens::ASYNC,
|
||||
HlMod::Foreign => semantic_tokens::FOREIGN,
|
||||
HlMod::Library => semantic_tokens::LIBRARY,
|
||||
HlMod::Unsafe => semantic_tokens::UNSAFE,
|
||||
HlMod::Callable => semantic_tokens::CALLABLE,
|
||||
HlMod::Static => lsp_types::SemanticTokenModifier::STATIC,
|
||||
|
||||
Reference in New Issue
Block a user