nvim_runtime_lua

lsp.CompletionList

Represents a collection of {@link CompletionItem completion items} to be presented in the editor.

@since 3.17.0 @since 3.18.0

Fields4

CompletionList.isIncomplete : boolean

This list it not complete. Further typing results in recomputing this list.

Recomputed lists have all their items replaced (not appended) in the incomplete completion sessions.

CompletionList.itemDefaults : lsp.CompletionItemDefaults | nil
CompletionList.applyKind : lsp.CompletionItemApplyKinds | nil
CompletionList.items : lsp.CompletionItem[]

The completion items.