dotfiles/.config/nvim/lua/pluginconf/telescope.lua
2022-07-06 23:04:52 +02:00

28 lines
621 B
Lua

require("telescope").setup {
defaults = {
vimgrep_arguments = {
"rg",
"--color=never",
"--no-heading",
"--with-filename",
"--line-number",
"--column",
"--smart-case",
"--hidden",
},
},
pickers = {
find_files = {
find_command = { "fd", "--type", "f", "--strip-cwd-prefix", "--hidden" },
},
},
extensions = {
["ui-select"] = {
require("telescope.themes").get_dropdown {},
},
},
}
require("telescope").load_extension "ui-select"