fix: decompilation fixes

This commit is contained in:
Folke Lemaitre 2022-11-20 23:25:56 +01:00
parent ae0b87181d
commit 57d024ef19
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 6 additions and 5 deletions

View file

@ -122,7 +122,7 @@ function M.clear()
for pack, plugin in pairs(Config.plugins) do
-- clear finished tasks
if plugin.tasks then
---@param task Task
---@param task LazyTask
plugin.tasks = vim.tbl_filter(function(task)
return task.running
end, plugin.tasks)