mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-21 20:11:06 +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
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue