Restrict find_files to files
This commit is contained in:
@@ -339,7 +339,7 @@ builtin.find_files = function(opts)
|
|||||||
pickers.new(opts, {
|
pickers.new(opts, {
|
||||||
prompt = 'Find Files',
|
prompt = 'Find Files',
|
||||||
finder = finders.new_oneshot_job(
|
finder = finders.new_oneshot_job(
|
||||||
{fd_string},
|
{fd_string, '--type', 'f'},
|
||||||
opts
|
opts
|
||||||
),
|
),
|
||||||
previewer = previewers.cat.new(opts),
|
previewer = previewers.cat.new(opts),
|
||||||
|
|||||||
Reference in New Issue
Block a user