fix(project): make alpha and mini.starter optional

This commit is contained in:
Jonas Holst Damtoft 2023-05-22 20:24:49 +02:00
parent da45b5608f
commit 48d37e416c

View file

@ -20,6 +20,7 @@ return {
{ {
"goolord/alpha-nvim", "goolord/alpha-nvim",
optional = true,
opts = function(_, dashboard) opts = function(_, dashboard)
local button = dashboard.button("p", "" .. " Projects", ":Telescope projects <CR>") local button = dashboard.button("p", "" .. " Projects", ":Telescope projects <CR>")
button.opts.hl = "AlphaButtons" button.opts.hl = "AlphaButtons"
@ -29,6 +30,7 @@ return {
}, },
{ {
"echasnovski/mini.starter", "echasnovski/mini.starter",
optional = true,
opts = function(_, opts) opts = function(_, opts)
local items = { local items = {
{ {