nvim_runtime_lua

lsp.InlineCompletionContext

Provides information about the context in which an inline completion was requested.

Fields2

InlineCompletionContext.triggerKind : lsp.InlineCompletionTriggerKind

Describes how the inline completion was triggered.

InlineCompletionContext.selectedCompletionInfo : lsp.SelectedCompletionInfo | nil

Provides information about the currently selected item in the autocomplete widget if it is visible.