feat(notify): delay notifs till replaced or at most 500ms to prevent more prompts
This commit is contained in:
4 files changed
+52
-10
No files matched your search
@@ -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 {}
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user