Fix find_command for find_files when using find executable (#199)
Closes: #193
This commit is contained in:
@@ -546,7 +546,7 @@ builtin.find_files = function(opts)
|
|||||||
elseif 1 == vim.fn.executable("rg") then
|
elseif 1 == vim.fn.executable("rg") then
|
||||||
find_command = { 'rg', '--files' }
|
find_command = { 'rg', '--files' }
|
||||||
elseif 1 == vim.fn.executable("find") then
|
elseif 1 == vim.fn.executable("find") then
|
||||||
find_command = { 'find', '-type', 'f' }
|
find_command = { 'find', '.', '-type', 'f' }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user