]> git.rmz.io Git - dotfiles.git/blob - nvim/lua/plugins/snacks.lua
ae02a9bcb6395967e32daa18a3a4047964bf8a24
[dotfiles.git] / nvim / lua / plugins / snacks.lua
1 return {
2 { "folke/snacks.nvim",
3 opts = {},
4 config = function(_, opts)
5 local notify = vim.notify
6 require("snacks").setup(opts)
7 -- HACK: restore vim.notify after snacks setup and let noice.nvim take over
8 -- this is needed to have early notifications show up in noice history
9 if LazyVim.has("noice.nvim") then
10 vim.notify = notify
11 end
12 end,
13 }
14 }