fix: Pass cwd down correctly for find files
This commit is contained in:
@@ -329,9 +329,8 @@ builtin.find_files = function(opts)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local cwd = opts.cwd
|
if opts.cwd then
|
||||||
if cwd then
|
opts.cwd = vim.fn.expand(opts.cwd)
|
||||||
cwd = vim.fn.expand(cwd)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.entry_maker = opts.entry_maker or make_entry.gen_from_file(opts)
|
opts.entry_maker = opts.entry_maker or make_entry.gen_from_file(opts)
|
||||||
|
|||||||
Reference in New Issue
Block a user