We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf55ed commit 8c428b2Copy full SHA for 8c428b2
lua/telescope/_extensions/file_browser/finders.lua
@@ -51,14 +51,14 @@ local function fd_file_args(opts)
51
table.insert(args, "--type")
52
table.insert(args, "directory")
53
end
54
- if type(opts.depth) == "number" then
55
- table.insert(args, "--maxdepth")
56
- table.insert(args, opts.depth)
57
- end
58
else
59
args = { "--type", "directory", "--absolute-path" }
60
61
+ if type(opts.depth) == "number" then
+ table.insert(args, "--maxdepth")
+ table.insert(args, opts.depth)
+ end
62
if hidden_opts(opts) then
63
table.insert(args, "--hidden")
64
0 commit comments