29 lines
667 B
Lua
29 lines
667 B
Lua
return {
|
|
"rcarriga/nvim-notify",
|
|
config = function()
|
|
require("notify").setup({
|
|
stages = "slide",
|
|
background_colour = "FloatShadow",
|
|
max_width = 120,
|
|
timeout = 2750,
|
|
render = "wrapped-compact",
|
|
-- Minimum/Maximum width for notification windows
|
|
minimum_width = 30,
|
|
maximum_width = 120,
|
|
|
|
-- Function called when a new window is opened, use for changing win settings/config
|
|
on_open = nil,
|
|
|
|
-- Function called when a window is closed
|
|
on_close = nil,
|
|
icons = {
|
|
ERROR = "", -- alternate symbol
|
|
WARN = "",
|
|
INFO = "",
|
|
DEBUG = "",
|
|
TRACE = "",
|
|
},
|
|
})
|
|
vim.notify = require("notify")
|
|
end,
|
|
}
|