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

This commit is contained in:
Jonas Holst Damtoft 2023-10-05 15:59:44 +02:00 committed by GitHub
parent 1eb019274b
commit 6f1cdfe4bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
},
}