dotfiles/.config/nvim/lua/pluginconf/telescope.lua

28 lines
597 B
Lua
Raw Normal View History

2021-11-05 17:44:11 +01:00
require("telescope").setup {
defaults = {
vimgrep_arguments = {
"rg",
"--color=never",
"--no-heading",
"--with-filename",
"--line-number",
"--column",
"--smart-case",
},
},
2022-01-22 17:58:41 +01:00
2022-05-06 14:36:32 +02:00
pickers = {
find_files = {
find_command = { "fd", "--type", "f", "--strip-cwd-prefix", "--hidden" },
},
},
2022-01-22 17:58:41 +01:00
extensions = {
["ui-select"] = {
2022-01-23 01:25:35 +01:00
require("telescope.themes").get_dropdown {},
},
2022-01-22 17:58:41 +01:00
},
2021-11-05 17:44:11 +01:00
}
2022-01-22 17:58:41 +01:00
2022-01-23 01:25:35 +01:00
require("telescope").load_extension "ui-select"