diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2020-10-28 08:55:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 03:55:49 -0400 |
| commit | 78cf7ebd7f2dcfcf6fec1d0195ccf46cb479d72c (patch) | |
| tree | bd2272606b1d19bed4d8043496a273366fd79701 /lua | |
| parent | 87d99bd4d72391fa8841f8957c72e77a8fa2c34c (diff) | |
Fix find_command for find_files when using find executable (#199)
Closes: #193
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 7da08f8..e90797d 100644 --- a/lua/telescope/builtin.lua +++ b/lua/telescope/builtin.lua @@ -546,7 +546,7 @@ builtin.find_files = function(opts) elseif 1 == vim.fn.executable("rg") then find_command = { 'rg', '--files' } elseif 1 == vim.fn.executable("find") then - find_command = { 'find', '-type', 'f' } + find_command = { 'find', '.', '-type', 'f' } end end |
