From bdb14328c1124481e29d21ded6e33be144fc2572 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Thu, 19 Jun 2025 21:03:39 +0200 Subject: [PATCH] Modules/Neovim: Replace nvim-notify with Snacks.notify --- home/modules/neovim/default.nix | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/home/modules/neovim/default.nix b/home/modules/neovim/default.nix index 7dc71b84..fcbceb6d 100644 --- a/home/modules/neovim/default.nix +++ b/home/modules/neovim/default.nix @@ -1093,25 +1093,6 @@ in { }; }; - _notify = { - name = "notify"; - pkg = pkgs.vimPlugins.nvim-notify; - lazy = true; - config = '' - function(_, opts) - local notify = require("notify") - - notify.setup(opts) - vim.notify = notify -- Make vim use notify by default - end - ''; - opts = { - render = "default"; - max_width = 45; # In columns - top_down = false; - }; - }; - _nui = { name = "nui"; # For noice pkg = pkgs.vimPlugins.nui-nvim; @@ -1123,7 +1104,6 @@ in { pkg = pkgs.vimPlugins.noice-nvim; lazy = false; dependencies = [ - _notify _nui ]; config = mkDefaultConfig name; @@ -1402,6 +1382,10 @@ in { replace_netrw = true; }; + notifier = { + enabled = true; + }; + picker = let defaultLayout = '' --- Use the default layout or vertical if the window is too narrow