Files
neovim-config/lua/taken/plugins/snacks.lua
2025-05-01 23:32:42 +02:00

21 lines
563 B
Lua

--- @type LazyPluginSpec
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,
}