feat(dashboard): add projects if enabled (#1595)
This commit is contained in:

committed by
GitHub

parent
1eb019274b
commit
6f1cdfe4bd
@ -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,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user