Restrict find_files to files

This commit is contained in:
Christian Clason
2020-09-11 14:57:13 +02:00
committed by GitHub
parent 31f2e9139c
commit 8d8368a641

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),