feat: add fidget.nvim notification subsystem

This commit is contained in:
Youwen Wu 2024-12-28 22:50:04 -08:00
parent 04abea4e16
commit 75f4c8c428
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 11 additions and 9 deletions

View file

@ -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

View file

@ -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,
},