nixos/home/tui/config/nvim/lua/plugins/telescope.lua

47 lines
1.5 KiB
Lua

return {
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
cmd = "Telescope",
config = function()
require("telescope").setup(require "config.telescope")
require("telescope").load_extension "fzf"
require("telescope").load_extension "lazy"
require("telescope").load_extension "luasnip"
require("telescope").load_extension "git_diffs"
require("telescope").load_extension "command_center"
require("telescope").load_extension "http"
require("telescope").load_extension "advanced_git_search"
require("telescope").load_extension "projects"
end,
dependencies = {
{
"nvim-lua/plenary.nvim",
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
},
{
"tsakirist/telescope-lazy.nvim",
dependencies = { "folke/lazy.nvim" },
},
{
"benfowler/telescope-luasnip.nvim",
dependencies = { "L3MON4D3/LuaSnip" },
},
{
"paopaol/telescope-git-diffs.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"sindrets/diffview.nvim",
},
},
"FeiyouG/command_center.nvim",
{
"barrett-ruth/telescope-http.nvim",
dependencies = { "savq/paq-nvim" },
},
"aaronhallaert/advanced-git-search.nvim",
},
},
}