Skip to content

Commit

Permalink
feat(notify): lazy-load nvim-notify to show proper notifs before Noic…
Browse files Browse the repository at this point in the history
…e loads
  • Loading branch information
folke committed Jan 10, 2023
1 parent 9d69c7f commit 7406313
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/lazyvim/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ return {
return math.floor(vim.o.columns * 0.75)
end,
},
init = function()
-- lazy-load notify here. Will be overriden by Noice when it loads
vim.notify = function(...)
return require("notify").notify(...)
end
end,
},

-- better vim.ui
Expand Down

0 comments on commit 7406313

Please sign in to comment.