Method

LspCompletionItemset_documentation

Declaration

void
lsp_completion_item_set_documentation (
  LspCompletionItem* self,
  LspMarkupContent* value
)

Description

Sets the value of documentation.

A human-readable string that represents a doc-comment.

Parameters

value

Type: LspMarkupContent

The new value of documentation.

The argument can be NULL.
The data is owned by the caller of the method.