mirror of
https://github.com/neovim/neovim.git
synced 2026-08-26 09:01:57 +00:00
docs: func/expr options, misc #41102
This commit is contained in:
@@ -60,7 +60,7 @@ end
|
||||
---@param cb fun(err?: string, entries?: nvim.dir.Entry[])
|
||||
function M.list(_, path, cb)
|
||||
local entries = {} ---@type nvim.dir.Entry[]
|
||||
for name, type, err in fs.dir(path, { err = true, normalize = false }) do
|
||||
for name, type, err in fs.dir(path, { err = true, plain = true }) do
|
||||
if err then
|
||||
cb(err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user