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