nvim_runtime_lua

lsp.SelectedCompletionInfo

Describes the currently selected completion item.

Fields2

SelectedCompletionInfo.range : lsp.Range

The range that will be replaced if this completion item is accepted.

SelectedCompletionInfo.text : string

The text the range will be replaced with if this completion is accepted.