Files
dotfiles/vim/.vim/lua/plugins/notify.lua
Christian Nieves 44c0523801 test.lua
2024-01-11 23:09:38 -06:00

50 lines
1.0 KiB
Lua

return {
{
"rcarriga/nvim-notify",
event = "VimEnter",
cond = false,
lazy = true,
config = function()
-- local colors = require("catppuccin.palettes").get_palette()
require("notify").setup({
-- background_colour = colors.base,
fps = 20, -- default 30
-- stages = "slide", -- default fade_in_slide_out
timeout = 5000, -- default 5000
render = "wrapped-compact",
})
vim.notify = require("notify")
end,
},
{
"j-hui/fidget.nvim",
event = "VimEnter",
cond = true,
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",
-- },
-- config = function()
-- vim.notify = function(msg, level, opts)
-- require("fidget").notify(msg, level, opts)
-- require("mini.notify").make_notify()(msg, level, opts)
-- end
-- end,
-- },
}