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

This commit is contained in:
2026-05-12 08:34:04 +02:00
parent 5d205c0302
commit cb1095feeb
4 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ end
function M.find_root(file, markers)
if not file or file == "" then
return vim.loop.cwd()
return vim.uv.cwd()
end
local dir = vim.fs.dirname(file)
local found = vim.fs.find(markers, { path = dir, upward = true })