Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lua/telescope/_extensions/file_browser/finders.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ local function fd_file_args(opts)
table.insert(args, "--type")
table.insert(args, "directory")
end
if type(opts.depth) == "number" then
table.insert(args, "--maxdepth")
table.insert(args, opts.depth)
end
else
args = { "--type", "directory", "--absolute-path" }
end

if type(opts.depth) == "number" then
table.insert(args, "--maxdepth")
table.insert(args, opts.depth)
end
if hidden_opts(opts) then
table.insert(args, "--hidden")
end
Expand Down
Loading