nvim: Tweak telescope filepicker

Only ignore the .git/ directory. Show hidden and .gitignored files.
This commit is contained in:
histalek 2023-01-09 14:04:53 +01:00
parent f696cfe54e
commit 874a55c2ad
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

View file

@ -18,4 +18,9 @@ telescope.setup({
},
},
},
pickers = {
find_files = {
find_command = { "fd", "--type", "f", "--exclude", "**/.git/", "--strip-cwd-prefix", "--unrestricted" },
},
},
})