Neovim/lua/plugins/telescope.lua

40 lines
1022 B
Lua
Raw Normal View History

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-03-26 10:23:47 +00:00
'nvim-tree/nvim-web-devicons',
-- extensionsdiff
'jonarrien/telescope-cmdline.nvim',
"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 = {
prompt_position = "top"
},
2023-11-17 11:24:21 +00:00
sorting_strategy = "ascending",
winblend = 0,
2024-03-26 10:23:47 +00:00
theme = "dropdown"
2023-11-17 11:24:21 +00:00
},
2024-02-23 18:23:02 +00:00
extensions = {
2024-03-26 10:23:47 +00:00
cmdline = {
},
undo = {
},
},
},
config = function(_, opts)
require('telescope').setup(opts)
require("telescope").load_extension("cmdline")
require("telescope").load_extension("undo")
end
2023-11-17 11:24:21 +00:00
},
2024-02-23 18:23:02 +00:00
}