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
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -146,7 +146,7 @@ function M.lazy_notify()
end end
vim.schedule(function() vim.schedule(function()
---@diagnostic disable-next-line: no-unknown ---@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)) vim.notify(vim.F.unpack_len(notif))
end end
end) end)