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
+1 -1
View File
@@ -9,7 +9,7 @@ end
local function with_project(package_json, fn)
local root = vim.fn.tempname()
vim.fn.mkdir(root, "p")
root = vim.loop.fs_realpath(root) or root
root = vim.uv.fs_realpath(root) or root
if package_json then
write_file(root .. "/package.json", package_json)
end