mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-28 19:50:09 +02:00
perf: lazy-load nvim-notify
This commit is contained in:
parent
0d02dec9d2
commit
108c471ab5
1 changed files with 5 additions and 3 deletions
|
@ -2,9 +2,11 @@ return {
|
||||||
-- better vim.notify
|
-- better vim.notify
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
event = "VeryLazy",
|
init = function()
|
||||||
config = function()
|
vim.notify = function(...)
|
||||||
vim.notify = require("notify")
|
vim.notify = require("notify")
|
||||||
|
return vim.notify(...)
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue