Method

LspCompletionItemset_command

Declaration

void
lsp_completion_item_set_command (
  LspCompletionItem* self,
  LspCommand* value
)

Description

Sets the value of command.

An optional command that is executed after inserting this completion. Note that additional modifications to the current document should be described with the additionalTextEdits-property.

Parameters

value

Type: LspCommand

The new value of command.

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