Fix find_command for find_files when using find executable (#199)

Closes: #193
This commit is contained in:
Simon Hauser
2020-10-28 08:55:49 +01:00
committed by GitHub
parent 87d99bd4d7
commit 78cf7ebd7f

View File

@@ -546,7 +546,7 @@ builtin.find_files = function(opts)
elseif 1 == vim.fn.executable("rg") then
find_command = { 'rg', '--files' }
elseif 1 == vim.fn.executable("find") then
find_command = { 'find', '-type', 'f' }
find_command = { 'find', '.', '-type', 'f' }
end
end