Skip to content

Commit cff0d6b

Browse files
committed
Use Property instead of Member for fields
1 parent da0c8d9 commit cff0d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/to_proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ fn semantic_token_type_and_modifiers(
264264
HighlightTag::Trait => lsp_types::SemanticTokenType::INTERFACE,
265265
HighlightTag::BuiltinType => semantic_tokens::BUILTIN_TYPE,
266266
HighlightTag::SelfType => lsp_types::SemanticTokenType::TYPE,
267-
HighlightTag::Field => lsp_types::SemanticTokenType::MEMBER,
267+
HighlightTag::Field => lsp_types::SemanticTokenType::PROPERTY,
268268
HighlightTag::Function => lsp_types::SemanticTokenType::FUNCTION,
269269
HighlightTag::Module => lsp_types::SemanticTokenType::NAMESPACE,
270270
HighlightTag::Constant => {

0 commit comments

Comments
 (0)