diff options
| author | Dave Lage <rockerboo@gmail.com> | 2020-09-11 18:13:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-11 18:13:41 -0400 |
| commit | 8beb8c876b9c80d8791526c4e4847945f11120cd (patch) | |
| tree | 86ce9d2f0a2ed5579eb3d30961ac0884f116578a /lua | |
| parent | f47f1dc03712bf49bf278e103e5196a09c5a6210 (diff) | |
| parent | 8d8368a64166caf44b0475463560a837a9a8fedd (diff) | |
Merge pull request #59 from clason/patch-1
Restrict builtin find_files to files
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/builtin.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/builtin.lua b/lua/telescope/builtin.lua index 58f1bbc..891b646 100644 --- a/lua/telescope/builtin.lua +++ b/lua/telescope/builtin.lua @@ -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), |
