feat(nvim): harpoon marks added to alpha dashboard

This commit is contained in:
Sergio Laín 2023-11-30 01:27:05 +01:00
parent 5b75815d9e
commit 6d13c490eb
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -26,4 +26,13 @@ return {
end)
end,
},
{
"goolord/alpha-nvim",
opts = function(_, dashboard)
local button = dashboard.button("m", "" .. " Marks", "<cmd>Telescope harpoon marks<CR>")
button.opts.hl = "AlphaButtons"
button.opts.hl_shortcut = "AlphaShortcut"
table.insert(dashboard.section.buttons.val, 5, button)
end,
},
}