Skip to content

Commit

Permalink
fix: include doc on completion
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed Aug 4, 2024
1 parent d030f33 commit 2dc85e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/protocol/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func (c CompletionResults) WithDocs(docs []helmdocs.HelmDocumentation, kind lsp.
items = append(items,
lsp.CompletionItem{
Label: doc.Name,
Detail: doc.Detail,
Detail: doc.Detail + "\n\n" + doc.Doc,
InsertText: doc.Name,
InsertTextFormat: lsp.InsertTextFormatPlainText,
Kind: kind,
Expand Down

0 comments on commit 2dc85e0

Please sign in to comment.