feat(notify): delay notifs till replaced or at most 500ms to prevent more prompts

This commit is contained in:
Folke Lemaitre committed 2023-01-10 23:00:56 +01:00
1 parent 3dd367caac
commit 701337fac8
4 files changed
+52 -10

No files matched your search

+1 -4
View File
@@ -1,6 +1,3 @@
-- load options here, before lazy init while sourcing plugin modules
-- this is needed to make sure options will be correctly applied
-- after installing missing plugins
require("lazyvim.config").load("options")
require("lazyvim.config").init()
return {}
-6
View File
@@ -20,12 +20,6 @@ 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