nvim-notify
nvim-notify copied to clipboard
[Feature Request] Animate Dismiss function.
So there is a function in the API which clears the screen of all notifications instantly. I was hoping an option could be added which animates this just like when notifications normally expire.
You should be able to do so via:
require('notify').dismiss { pending = true, silent = true }
At least this did the trick for me :)
You should be able to do so via:
require('notify').dismiss { pending = true, silent = true }
At least this did the trick for me :)
It doesn't work for me, my config is:
return {
'rcarriga/nvim-notify',
config = function()
require("notify").setup({
background_colour = "#000000",
timeout = 10000,
fps = 48,
render = "wrapped-default", -- compact",
time_formats = {
notification = "%T",
},
max_width = 70,
stages = "slide"
})
vim.notify = require('notify')
end
}
Imo, animated should also be default behavior and not require to pass any parameters