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

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

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