This commit is contained in:
Christian Nieves
2024-08-13 06:27:11 +00:00
parent 82411e7b77
commit 0202fcc32c
3 changed files with 25 additions and 25 deletions

View File

@ -16,34 +16,32 @@ return {
-- vim.notify = require("notify")
-- end,
-- },
{
"j-hui/fidget.nvim",
event = "VimEnter",
cond = false,
opts = {
progress = {
display = {
done_ttl = 5,
done_icon = "󰞑 ",
},
},
notification = {
override_vim_notify = true,
},
},
},
-- {
-- "j-hui/fidget.nvim",
-- event = "VimEnter",
-- -- cond = false,
-- opts = {
-- progress = {
-- display = {
-- done_ttl = 5,
-- done_icon = "󰞑 ",
-- },
-- },
-- notification = {
-- override_vim_notify = true,
-- },
-- },
-- },
{
"echasnovski/mini.notify",
version = false,
dependencies = {
"rcarriga/nvim-notify",
"j-hui/fidget.nvim",
-- "j-hui/fidget.nvim",
},
config = function()
vim.notify = function(msg, level, opts)
require("fidget").notify(msg, level, opts)
require("mini.notify").make_notify()(msg, level, opts)
end
vim.api.nvim_create_user_command("Notifications", require("mini.notify").show_history, {})
vim.notify = require("mini.notify").make_notify()
end,
},
}