2023-11-17 11:24:21 +00:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"nvim-telescope/telescope.nvim",
|
2024-02-23 18:23:02 +00:00
|
|
|
dependencies = {
|
|
|
|
"sharkdp/fd",
|
|
|
|
"nvim-lua/plenary.nvim",
|
2024-04-13 08:49:11 +00:00
|
|
|
"nvim-tree/nvim-web-devicons",
|
2024-03-26 10:23:47 +00:00
|
|
|
-- extensionsdiff
|
2024-04-13 08:49:11 +00:00
|
|
|
"jonarrien/telescope-cmdline.nvim",
|
2024-03-26 10:23:47 +00:00
|
|
|
"debugloop/telescope-undo.nvim",
|
2024-02-23 18:23:02 +00:00
|
|
|
},
|
2024-03-26 10:23:47 +00:00
|
|
|
tag = "0.1.6",
|
2023-11-17 11:24:21 +00:00
|
|
|
opts = {
|
|
|
|
defaults = {
|
|
|
|
layout_strategy = "horizontal",
|
2024-02-23 18:23:02 +00:00
|
|
|
layout_config = {
|
2024-04-13 08:49:11 +00:00
|
|
|
prompt_position = "top",
|
2024-02-23 18:23:02 +00:00
|
|
|
},
|
2023-11-17 11:24:21 +00:00
|
|
|
sorting_strategy = "ascending",
|
|
|
|
winblend = 0,
|
2024-04-13 08:49:11 +00:00
|
|
|
theme = "dropdown",
|
2023-11-17 11:24:21 +00:00
|
|
|
},
|
2024-02-23 18:23:02 +00:00
|
|
|
extensions = {
|
2024-04-13 08:49:11 +00:00
|
|
|
cmdline = {},
|
|
|
|
undo = {},
|
2024-03-26 10:23:47 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
config = function(_, opts)
|
2024-04-13 08:49:11 +00:00
|
|
|
require("telescope").setup(opts)
|
2024-03-26 10:23:47 +00:00
|
|
|
|
|
|
|
require("telescope").load_extension("cmdline")
|
|
|
|
require("telescope").load_extension("undo")
|
2024-04-13 08:49:11 +00:00
|
|
|
end,
|
2023-11-17 11:24:21 +00:00
|
|
|
},
|
2024-02-23 18:23:02 +00:00
|
|
|
}
|