1
0
Fork 0

nvim: telescope: show hidden files by default

This commit is contained in:
tastytea 2022-09-01 20:23:18 +02:00
parent d1e7ea346a
commit dd53dfbccd
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 9 additions and 1 deletions

View File

@ -16,7 +16,15 @@ telescope.setup({
["?"] = t_actions.which_key,
}
},
file_ignore_patterns = { '^\\.git' }
defaults = {
file_ignore_patterns = { '^\\.git', '^fun' },
},
pickers = {
find_files = {
-- show hidden files by default
find_command = { "rg", "--files", "--hidden", "--glob", "!.git/*" }
}
}
})
local t_builtin = require('telescope.builtin')