diff options
| author | Christian Clason <christian.clason@uni-due.de> | 2020-09-11 14:57:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-11 14:57:13 +0200 |
| commit | 8d8368a64166caf44b0475463560a837a9a8fedd (patch) | |
| tree | 64beba929eff1c9734f4aa82e93db4106b0676b3 /lua | |
| parent | 31f2e9139c178bf51a33350d3d3b7b9c4dfd22e9 (diff) | |
Restrict 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 794f5b0..a5ce4aa 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), |
