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

This commit is contained in:
2026-05-12 08:34:55 +02:00
parent 2a1bac55b2
commit e38ee11737
+1 -1
View File
@@ -16,7 +16,7 @@ end
local function with_project(structure, fn) local function with_project(structure, fn)
local root = vim.fn.tempname() local root = vim.fn.tempname()
vim.fn.mkdir(root, "p") vim.fn.mkdir(root, "p")
root = vim.loop.fs_realpath(root) or root root = vim.uv.fs_realpath(root) or root
for rel_path, content in pairs(structure) do for rel_path, content in pairs(structure) do
write_file(root .. "/" .. rel_path, content) write_file(root .. "/" .. rel_path, content)
end end