1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 12:48:01 +00:00

[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

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/" }