build(deps): bump luv to 1.51.0-2

This commit is contained in:
Christian Clason
2026-01-18 16:30:02 +01:00
committed by Christian Clason
parent c39d18ee93
commit 647d3dc454
5 changed files with 17 additions and 14 deletions

View File

@@ -1469,8 +1469,9 @@ function uv.disable_stdio_inheritance() end
--- @param path string
--- @param options uv.spawn.options
--- @param on_exit fun(code: integer, signal: integer)
--- @return uv.uv_process_t handle
--- @return integer pid
--- @return uv.uv_process_t? handle
--- @return integer|string pid_or_err
--- @return uv.error_name? err_name
function uv.spawn(path, options, on_exit) end
--- Sends the specified signal to the given process handle. Check the documentation

View File

@@ -306,7 +306,7 @@ local is_win = vim.fn.has('win32') == 1
--- @param opts uv.spawn.options
--- @param on_exit fun(code: integer, signal: integer)
--- @param on_error fun()
--- @return uv.uv_process_t, integer
--- @return uv.uv_process_t?, integer?
local function spawn(cmd, opts, on_exit, on_error)
if is_win then
local cmd1 = vim.fn.exepath(cmd)