Files
dotfiles/dot_config/nvim/lua/plugins/telescope.lua
2026-01-28 15:06:46 +01:00

26 lines
567 B
Lua

return {
"nvim-telescope/telescope.nvim",
opts = {
defaults = {
vimgrep_arguments = {
"rg",
"--color=never",
"--no-heading",
"--with-filename",
"--line-number",
"--column",
"--smart-case",
"--hidden",
"--glob",
"!**/.git/*",
},
},
pickers = {
find_files = {
-- `hidden = true` will still show the inside of `.git/` as it's not `.gitignore`d.
find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*" },
},
},
},
}