27 lines
728 B
Lua
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,
|
|
}
|