mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 21:06:46 +00:00
style: cleanup & annotations
This commit is contained in:
parent
02f5528aa3
commit
9179c0a14d
4 changed files with 42 additions and 38 deletions
|
@ -55,6 +55,7 @@ function M.spawn(cmd, opts)
|
|||
return
|
||||
end
|
||||
|
||||
---@param data? string
|
||||
local function on_output(err, data)
|
||||
assert(not err, err)
|
||||
|
||||
|
@ -76,15 +77,4 @@ function M.spawn(cmd, opts)
|
|||
return handle
|
||||
end
|
||||
|
||||
-- FIXME: can be removed?
|
||||
function M.all_done(slot0)
|
||||
for slot4, slot5 in ipairs(slot0) do
|
||||
if slot5 and not slot5:is_closing() then
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue