mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
feat(notify): lazy-load nvim-notify to show proper notifs before Noice loads
This commit is contained in:
parent
9d69c7f473
commit
74063135d8
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue