feat(dashboard): add projects if enabled (#1595)

This commit is contained in:
Jonas Holst Damtoft authored and GitHub committed 2023-10-05 15:59:44 +02:00
1 parent 1eb019274b
commit 6f1cdfe4bd
1 file changed
+13
@@ -42,4 +42,17 @@ return {
vim.list_extend(opts.items, items)
end,
},
{
"glepnir/dashboard-nvim",
optional = true,
opts = function(_, opts)
local projects = {
action = "Telescope projects",
desc = " Projects",
icon = "",
key = "p",
}
table.insert(opts.config.center, 3, projects)
end,
},
}