20 lines
538 B
Lua
20 lines
538 B
Lua
return {
|
|
"folke/snacks.nvim",
|
|
config = function()
|
|
local snacks = require("snacks")
|
|
|
|
snacks.setup({
|
|
bigfile = {},
|
|
notifier = {},
|
|
scroll = {},
|
|
})
|
|
|
|
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,
|
|
}
|