search hidden files

This commit is contained in:
Joel Lau 2024-03-07 10:30:21 +08:00
parent be6175ce98
commit b955b9c043
No known key found for this signature in database
GPG key ID: D513A40A19DC2F69
2 changed files with 20 additions and 1 deletions

View file

@ -414,6 +414,21 @@ require('telescope').setup {
},
},
},
pickers = {
find_files = {
hidden = true,
},
live_grep = {
additional_args = function()
return { '--hidden', '--glob', '!**/.git/*' }
end,
},
grep_string = {
additional_args = function()
return { '--hidden', '--glob', '!**/.git/*' }
end,
},
},
}
-- Enable telescope fzf native, if installed