fix(root): don't use fs_realpath on windows

This commit is contained in:
Folke Lemaitre
2025-10-24 15:35:49 -07:00
parent 4796fb4ac5
commit 46e419d27e

View File

@@ -78,7 +78,7 @@ function M.realpath(path)
if path == "" or path == nil then
return nil
end
path = vim.uv.fs_realpath(path) or path
path = vim.fn.has("win32") == 0 and vim.uv.fs_realpath(path) or path
return LazyVim.norm(path)
end