Skip to content

Commit

Permalink
perf: lazy-load nvim-notify
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 30, 2022
1 parent 0d02dec commit 108c471
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lua/user/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},

Expand Down

0 comments on commit 108c471

Please sign in to comment.