From 75f4c8c42872ec578224252999c7f46665ea9703 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 28 Dec 2024 22:50:04 -0800 Subject: [PATCH] feat: add fidget.nvim notification subsystem --- flake.nix | 2 +- lua/plugins/lz-spec.lua | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index a937846..f2182fe 100644 --- a/flake.nix +++ b/flake.nix @@ -148,11 +148,11 @@ mini-ai mini-hipatterns mini-surround - mini-notify mini-starter mini-trailspace cellular-automaton-nvim indent-blankline-nvim + fidget-nvim mini-bufremove neogit gitsigns-nvim diff --git a/lua/plugins/lz-spec.lua b/lua/plugins/lz-spec.lua index 73d8a2b..3c2beef 100644 --- a/lua/plugins/lz-spec.lua +++ b/lua/plugins/lz-spec.lua @@ -67,15 +67,17 @@ return { end, }, { - "mini.notify", + "fidget.nvim", after = function() - require("mini.notify").setup({ - -- handled by statusline - lsp_progress = { enable = false }, - }) - - MiniNotify.make_notify({ - ERROR = { duration = 6000 }, + require("fidget").setup({ + notification = { + override_vim_notify = true, + window = { + border = "rounded", + x_padding = 1, + y_padding = 2, + }, + }, }) end, },