]> git.rmz.io Git - dotfiles.git/blob - nvim/lua/plugins/snacks.lua
lazyvim: absorb snacks.vim init config
[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 }