Skip to content

Commit 08c0ed5

Browse files
committed
feedback
1 parent 60f02ab commit 08c0ed5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

decoder/hover.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,11 @@ func (d *PathDecoder) hoverDataForExpr(ctx context.Context, expr hcl.Expression,
268268
},
269269
}) && icontext.ActiveCountFromContext(ctx) {
270270
return &lang.HoverData{
271-
Content: lang.Markdown("**count.index** fooooo"),
272-
Range: expr.Range(),
271+
Content: lang.MarkupContent{
272+
Kind: lang.MarkdownKind,
273+
Value: "**count** _optional, number_\n\nThe distinct index number (starting with 0) corresponding to the instance",
274+
},
275+
Range: expr.Range(),
273276
}, nil
274277
}
275278

0 commit comments

Comments
 (0)