nvim_runtime_lua

vim.lsp.inline_completion.Item

Fields6

Item._index : integer

The index among all items form all clients.

Item.client_id : integer

Client ID

Item.insert_text : string | lsp.StringValue

The text to be inserted, can be a snippet.

Item._filter_text : nil | string
Item.range : vim.Range | nil

Which range it be applied.

Item.command : lsp.Command | nil

Corresponding server command.