Method

LspCompletionItemset_insert_text_mode

Declaration

void
lsp_completion_item_set_insert_text_mode (
  LspCompletionItem* self,
  LspInsertTextMode value
)

Description

Sets the value of insert_text_mode.

How whitespace and indentation is handled during completion item insertion. If not provided the client’s default value depends on the textDocument.completion.insertTextMode client capability.

Since:

3.16.0.

Parameters

value

Type: LspInsertTextMode

The new value of insert_text_mode.