nvim_runtime_lua

vim.lsp.ListOpts

Fields3

ListOpts.on_list : fun(what: vim.fn.setqflist.what) -> nil | nil
ListOpts.loclist : nil | boolean

Whether to use the |location-list| or the |quickfix| list in the default handler.

 vim.lsp.buf.definition({ loclist = true })
 vim.lsp.buf.references(nil, { loclist = false })
ListOpts.pos : vim.Pos | nil

Position on a buffer to request. (default: cursor position)