nvim_runtime_lua

lsp.ClientCompletionItemOptions

@since 3.15.0 @since 3.16.0 @since 3.16.0 @since 3.16.0 @since 3.17.0

Fields10

ClientCompletionItemOptions.snippetSupport : nil | boolean

Client supports snippets as insert text.

A snippet can define tab stops and placeholders with $1, $2 and ${3:foo}. $0 defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal identifiers are linked, that is typing in one will update others too.

ClientCompletionItemOptions.commitCharactersSupport : nil | boolean

Client supports commit characters on a completion item.

ClientCompletionItemOptions.documentationFormat : lsp.MarkupKind[] | nil

Client supports the following content formats for the documentation property. The order describes the preferred format of the client.

ClientCompletionItemOptions.deprecatedSupport : nil | boolean

Client supports the deprecated property on a completion item.

ClientCompletionItemOptions.preselectSupport : nil | boolean

Client supports the preselect property on a completion item.

ClientCompletionItemOptions.tagSupport : lsp.CompletionItemTagOptions | nil
ClientCompletionItemOptions.insertReplaceSupport : nil | boolean
ClientCompletionItemOptions.resolveSupport : lsp.ClientCompletionItemResolveOptions | nil
ClientCompletionItemOptions.insertTextModeSupport : lsp.ClientCompletionItemInsertTextModeOptions | nil
ClientCompletionItemOptions.labelDetailsSupport : nil | boolean