vim.fn.setqflist.what
Fields9
what.context : nil | table
quickfix list context. See |quickfix-context|
what.efm : nil | string
errorformat to use when parsing text from "lines". If this is not present, then the 'errorformat' option value is used. See |quickfix-parse|
what.id : nil | integer
quickfix list identifier |quickfix-ID|
what.idx : nil | integer
index of the current entry in the quickfix list specified by "id" or "nr". If set to '$', then the last entry in the list is set as the current entry. See |quickfix-index|
what.items : vim.quickfix.entry[] | nil
list of quickfix entries. Same as the {list} argument.
what.lines : string[] | nil
use 'errorformat' to parse a list of lines and add the resulting entries to the quickfix list {nr} or {id}. Only a |List| value is supported. See |quickfix-parse|
what.nr : integer | "$" | nil
list number in the quickfix stack; zero means the current quickfix list and "$" means the last quickfix list.
what.quickfixtextfunc : nil | function | string
function to get the text to display in the quickfix window. The value can be the name of a function or a funcref or a lambda. Refer to |quickfix-window-function| for an explanation of how to write the function and an example.
what.title : nil | string
quickfix list title text. See |quickfix-title|