mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
fix(root): don't use fs_realpath on windows
This commit is contained in:
parent
4796fb4ac5
commit
46e419d27e
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ function M.realpath(path)
|
||||||
if path == "" or path == nil then
|
if path == "" or path == nil then
|
||||||
return nil
|
return nil
|
||||||
end
|
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)
|
return LazyVim.norm(path)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue