31 lines
775 B
Lua
31 lines
775 B
Lua
return {
|
|
{
|
|
"telescope.nvim",
|
|
dependencies = {
|
|
-- project management
|
|
{
|
|
"ahmedkhalf/project.nvim",
|
|
opts = {},
|
|
event = "VeryLazy",
|
|
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,
|
|
},
|
|
}
|