mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
feat(notify): better defaults
This commit is contained in:
parent
8eb8d235c9
commit
bbd0a8a414
1 changed files with 9 additions and 6 deletions
|
@ -2,12 +2,15 @@ return {
|
|||
-- better vim.notify
|
||||
{
|
||||
"rcarriga/nvim-notify",
|
||||
init = function()
|
||||
vim.notify = function(...)
|
||||
vim.notify = require("notify")
|
||||
return vim.notify(...)
|
||||
end
|
||||
end,
|
||||
config = {
|
||||
timeout = 3000,
|
||||
max_height = function()
|
||||
return math.floor(vim.o.lines * 0.75)
|
||||
end,
|
||||
max_width = function()
|
||||
return math.floor(vim.o.columns * 0.75)
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
-- better vim.ui
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue