mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-12-25 12:14:19 +01:00
fix(root): don't use fs_realpath on windows
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user