Method

LspCompletionItemset_insert_text_format

Declaration

void
lsp_completion_item_set_insert_text_format (
  LspCompletionItem* self,
  LspInsertTextFormat value
)

Description

Sets the value of insert_text_format.

The format of the insert text. The format applies to both the insertText property and the newText property of a provided textEdit. If omitted defaults to InsertTextFormat.PlainText.

Parameters

value

Type: LspInsertTextFormat

The new value of insert_text_format.