diff --git a/lua/lazyvim/plugins/extras/util/project.lua b/lua/lazyvim/plugins/extras/util/project.lua new file mode 100644 index 00000000..18bd7f23 --- /dev/null +++ b/lua/lazyvim/plugins/extras/util/project.lua @@ -0,0 +1,28 @@ +return { + { + "telescope.nvim", + dependencies = { + -- project management + { + "ahmedkhalf/project.nvim", + config = function(_, opts) + require("project_nvim").setup(opts) + require("telescope").load_extension("projects") + end, + keys = { + { "fp", "Telescope projects", desc = "Projects" }, + }, + }, + }, + }, + + { + "goolord/alpha-nvim", + opts = function(_, dashboard) + local button = dashboard.button("p", " " .. " Projects", ":Telescope projects ") + button.opts.hl = "AlphaButtons" + button.opts.hl_shortcut = "AlphaShortcut" + table.insert(dashboard.section.buttons.val, 4, button) + end, + }, +}