Skip to content

Commit

Permalink
Update list.lua
Browse files Browse the repository at this point in the history
Problem with `fd` that ignore `.git` folders
  • Loading branch information
crivotz authored Mar 4, 2024
1 parent e174626 commit 67e2f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/_extensions/repo/list.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ M.prepare_command = function(opts)

-- Don’t filter only on directories with fd as git worktrees actually have a
-- .git file in them.
local find_repo_opts = { "--hidden", "--case-sensitive", "--absolute-path" }
local find_repo_opts = { "--hidden", "--no-ignore-vcs", "--case-sensitive", "--absolute-path" }
local find_user_opts = opts.fd_opts or {}
local find_exec_opts = { "--exec", "echo", [[{//}]], ";" }

Expand Down

0 comments on commit 67e2f71

Please sign in to comment.