fix: adapt to Nvim deprecations in 0.10 (#3109)

(cherry picked from commit bbdbb7593f)
This commit is contained in:
Christian Clason
2024-05-20 11:48:33 +02:00
committed by Simon Hauser
parent 3a5d17d9d0
commit dd4acbd6fa
10 changed files with 32 additions and 16 deletions
+1 -1
View File
@@ -775,7 +775,7 @@ end
internal.man_pages = function(opts)
opts.sections = vim.F.if_nil(opts.sections, { "1" })
assert(vim.tbl_islist(opts.sections), "sections should be a list")
assert(utils.islist(opts.sections), "sections should be a list")
opts.man_cmd = utils.get_lazy_default(opts.man_cmd, function()
local uname = vim.loop.os_uname()
local sysname = string.lower(uname.sysname)