fix(util): prevent loop for now. Still need to figure out what's causing it

This commit is contained in:
Folke Lemaitre
2023-01-11 09:01:40 +01:00
parent 207beafda2
commit bbb59d3ffd

View File

@ -146,7 +146,7 @@ function M.lazy_notify()
end
vim.schedule(function()
---@diagnostic disable-next-line: no-unknown
for _, notif in ipairs(notifs) do
for _, notif in ipairs(vim.deepcopy(notifs)) do
vim.notify(vim.F.unpack_len(notif))
end
end)