Files
neovim-config/lua/taken/plugins/snacks.lua
2025-05-13 16:22:34 +02:00

27 lines
728 B
Lua

--- @type LazyPluginSpec
return {
"folke/snacks.nvim",
config = function()
local snacks = require("snacks")
snacks.setup({
bigfile = {},
notifier = {},
scroll = {},
styles = {
notification_history = {
width = 0.9,
height = 0.9,
},
},
})
vim.api.nvim_create_user_command("NotifyHistory", function()
Snacks.notifier.show_history()
end, { desc = "Show notification history" })
vim.keymap.set("n", "<leader>oh", function()
snacks.notifier.show_history()
end, { desc = "Show notification history" })
end,
}