mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 12:56:46 +00:00
refactor(util): improved notify functions
This commit is contained in:
parent
1f17bb79b7
commit
d3a963d51c
3 changed files with 37 additions and 26 deletions
|
@ -180,7 +180,7 @@ function Spec:report(level)
|
|||
level = level or vim.log.levels.ERROR
|
||||
for _, notif in ipairs(self.notifs) do
|
||||
if notif.level >= level then
|
||||
Util.notify(notif.msg, notif.level)
|
||||
Util.notify(notif.msg, { level = notif.level })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue