mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
29 lines
728 B
Lua
29 lines
728 B
Lua
|
return {
|
||
|
{
|
||
|
"telescope.nvim",
|
||
|
dependencies = {
|
||
|
-- project management
|
||
|
{
|
||
|
"ahmedkhalf/project.nvim",
|
||
|
config = function(_, opts)
|
||
|
require("project_nvim").setup(opts)
|
||
|
require("telescope").load_extension("projects")
|
||
|
end,
|
||
|
keys = {
|
||
|
{ "<leader>fp", "<Cmd>Telescope projects<CR>", desc = "Projects" },
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"goolord/alpha-nvim",
|
||
|
opts = function(_, dashboard)
|
||
|
local button = dashboard.button("p", " " .. " Projects", ":Telescope projects <CR>")
|
||
|
button.opts.hl = "AlphaButtons"
|
||
|
button.opts.hl_shortcut = "AlphaShortcut"
|
||
|
table.insert(dashboard.section.buttons.val, 4, button)
|
||
|
end,
|
||
|
},
|
||
|
}
|