fix bugs after upgrading to neovim 0.12
tests / test (push) Successful in 8s

This commit is contained in:
2026-05-12 08:34:30 +02:00
parent a6c9da2f9a
commit d1871b719e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -595,7 +595,7 @@ function runner.build_failed_command(last_command, failures, _scope_kind)
if last_command and last_command.cmd then
return { cmd = last_command.cmd, cwd = last_command.cwd }
end
local cwd = vim.loop.cwd()
local cwd = vim.uv.cwd()
return { cmd = base_cmd(cwd), cwd = cwd }
end
@@ -620,7 +620,7 @@ function runner.build_failed_command(last_command, failures, _scope_kind)
end
end
if #cmd == 0 then
cmd = base_cmd(last_command and last_command.cwd or vim.loop.cwd())
cmd = base_cmd(last_command and last_command.cwd or vim.uv.cwd())
end
table.insert(cmd, "--testNamePattern")
table.insert(cmd, pattern)