perf: lazy-load nvim-notify

This commit is contained in:
Folke Lemaitre 2022-12-30 23:33:57 +01:00
parent 0d02dec9d2
commit 108c471ab5
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -2,9 +2,11 @@ return {
-- better vim.notify
{
"rcarriga/nvim-notify",
event = "VeryLazy",
config = function()
vim.notify = require("notify")
init = function()
vim.notify = function(...)
vim.notify = require("notify")
return vim.notify(...)
end
end,
},