mirror of
https://github.com/neovim/neovim.git
synced 2026-07-20 08:01:46 +00:00
feat(lua)!: vim.isnil, vim.nonnil, deprecate vim.F #39495
This commit is contained in:
@@ -799,7 +799,7 @@ end
|
||||
--- @param opts? vim.diagnostic.setqflist.Opts|vim.diagnostic.setloclist.Opts
|
||||
local function set_list(loclist, opts)
|
||||
opts = opts or {}
|
||||
local open = vim.F.if_nil(opts.open, true)
|
||||
local open = vim.nonnil(opts.open, true)
|
||||
local title = opts.title or 'Diagnostics'
|
||||
local winnr = opts.winnr or 0
|
||||
local bufnr --- @type integer?
|
||||
|
||||
Reference in New Issue
Block a user