[neovim] Show hidden files (except .git) when using find_files on telescope

This commit is contained in:
Daniel Carrillo 2022-10-01 17:57:53 +02:00
parent 5aecb9f369
commit 4b51f8d6cd
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ telescope.setup({
},
},
pickers = {
find_files = {
find_command = { "fd", "--hidden", "--type=file", "--exclude=.git" },
},
live_grep = {
additional_args = function()
return { "--hidden", "-g", "!.git/" }