mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 05:16:45 +00:00
fix(async): make asyncs abortable
This commit is contained in:
parent
c882227f1f
commit
1fad61712b
7 changed files with 29 additions and 8 deletions
|
@ -29,6 +29,10 @@ function M.track(data, time)
|
|||
end
|
||||
end
|
||||
|
||||
function M.exiting()
|
||||
return vim.v.exiting ~= vim.NIL
|
||||
end
|
||||
|
||||
---@generic T
|
||||
---@param list T[]
|
||||
---@param fn fun(v: T):boolean?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue