Method

LspCompletionItemget_insert_text_mode

Declaration

LspInsertTextMode
lsp_completion_item_get_insert_text_mode (
  LspCompletionItem* self
)

Description

Gets 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.

Return value

Type: LspInsertTextMode

The value of insert_text_mode.