Merge pull request #59 from clason/patch-1

Restrict builtin find_files to files
This commit is contained in:
Dave Lage
2020-09-11 18:13:41 -04:00
committed by GitHub

View File

@@ -339,7 +339,7 @@ builtin.find_files = function(opts)
pickers.new(opts, {
prompt = 'Find Files',
finder = finders.new_oneshot_job(
{fd_string},
{fd_string, '--type', 'f'},
opts
),
previewer = previewers.cat.new(opts),