summaryrefslogtreecommitdiff
path: root/lua/telescope
diff options
context:
space:
mode:
authori3Cheese <i3Cheese@yandex.ru>2022-03-12 22:11:37 +0700
committerGitHub <noreply@github.com>2022-03-12 16:11:37 +0100
commit6b3728876fbb4de263f43855f7f4291503efcd58 (patch)
tree638d973e76daafd61e706511b0dcf635ec777227 /lua/telescope
parent2d0b4a3243ce21180ead49b37ed35825e0a3a89a (diff)
fix(find_files): follow with unix `find` command (#1787)
Diffstat (limited to 'lua/telescope')
-rw-r--r--lua/telescope/builtin/files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/builtin/files.lua b/lua/telescope/builtin/files.lua
index db3db9b..90e52f5 100644
--- a/lua/telescope/builtin/files.lua
+++ b/lua/telescope/builtin/files.lua
@@ -209,7 +209,7 @@ files.find_files = function(opts)
log.warn "The `no_ignore` key is not available for the `find` command in `find_files`."
end
if follow then
- table.insert(find_command, "-L")
+ table.insert(find_command, 2, "-L")
end
if search_dirs then
table.remove(find_command, 2)