diff --git a/server/semantic/DumbAwareSemanticVisitor.v b/server/semantic/DumbAwareSemanticVisitor.v index c271ca37..a65e01a0 100644 --- a/server/semantic/DumbAwareSemanticVisitor.v +++ b/server/semantic/DumbAwareSemanticVisitor.v @@ -47,6 +47,10 @@ fn (_ DumbAwareSemanticVisitor) highlight_node(node psi.AstNode, root psi.PsiEle } } else if node.type_name == .field_name { result << element_to_semantic(node, .property) + } else if node.type_name == .range_clause { + if first_child := node.first_child() { + result << element_to_semantic(first_child, .property) + } } else if node.type_name == .struct_field_declaration { if first_child := node.first_child() { if first_child.type_name != .embedded_definition {