Skip to content

Commit ccdd24d

Browse files
committed
fix: include doc on completion
1 parent 359883a commit ccdd24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/protocol/completion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func (c CompletionResults) WithDocs(docs []helmdocs.HelmDocumentation, kind lsp.
2020
items = append(items,
2121
lsp.CompletionItem{
2222
Label: doc.Name,
23-
Detail: doc.Detail,
23+
Detail: doc.Detail + "\n\n" + doc.Doc,
2424
InsertText: doc.Name,
2525
InsertTextFormat: lsp.InsertTextFormatPlainText,
2626
Kind: kind,

0 commit comments

Comments
 (0)