neovim/lua/plugins/snack.lua

29 lines
504 B
Lua

return {
"folke/snacks.nvim",
priority = 1000,
lazy = false,
opts = {
git = { enabled = true },
indent = { enabled = true },
input = { enabled = true },
notifier = { enabled = true },
scroll = { enabled = true },
statuscolumn = { enabled = true },
},
keys = {
{
"<leader>n",
function()
Snacks.notifier.show_history()
end,
desc = "Notification History",
},
{
"<leader>gb",
function()
Snacks.git.blame_line()
end,
desc = "Git Blame Line",
},
},
}