24 lines
535 B
Lua
24 lines
535 B
Lua
---@type LazyPluginSpec[]
|
|
return {
|
|
{
|
|
"rcarriga/nvim-notify",
|
|
config = function()
|
|
local notify = require("notify")
|
|
local stages = require("notify.stages.static")("top_down")
|
|
notify.setup({
|
|
delay = 5000,
|
|
stages = {
|
|
function(...)
|
|
local opts = stages[1](...)
|
|
if opts then
|
|
opts.border = vim.g.bc.style
|
|
end
|
|
return opts
|
|
end,
|
|
unpack(stages, 2),
|
|
},
|
|
})
|
|
vim.notify = notify
|
|
end,
|
|
},
|
|
}
|