X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8d84045fd04e6f9ad045cd29a9faea4f056f2357..e40788dc38ebea793179795290adf868c5b5feca:/nvim/lua/plugins/snacks.lua diff --git a/nvim/lua/plugins/snacks.lua b/nvim/lua/plugins/snacks.lua new file mode 100644 index 0000000..ae02a9b --- /dev/null +++ b/nvim/lua/plugins/snacks.lua @@ -0,0 +1,14 @@ +return { + { "folke/snacks.nvim", + opts = {}, + config = function(_, opts) + local notify = vim.notify + require("snacks").setup(opts) + -- HACK: restore vim.notify after snacks setup and let noice.nvim take over + -- this is needed to have early notifications show up in noice history + if LazyVim.has("noice.nvim") then + vim.notify = notify + end + end, + } +}