Skip to content

Commit

Permalink
fix(util): prevent loop for now. Still need to figure out what's caus…
Browse files Browse the repository at this point in the history
…ing it
  • Loading branch information
folke committed Jan 11, 2023
1 parent 207beaf commit bbb59d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazyvim/util/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bbb59d3

Please sign in to comment.