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

29 lines
621 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-07-06 23:04:52 +02:00
"--hidden",
2021-11-05 17:44:11 +01:00
},
},
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"