feat(notify): lazy-load nvim-notify to show proper notifs before Noice loads

This commit is contained in:
Folke Lemaitre committed 2023-01-10 14:28:25 +01:00
1 parent 9d69c7f473
commit 74063135d8
1 file changed
+6
+6
View File
@@ -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