Replace LazyVim.root.realpath with M.realpath

This commit is contained in:
ian 2026-03-25 14:34:42 +08:00 committed by GitHub
parent f054a0240c
commit a78c5286e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ function M.bufpath(buf)
if vim.fn.has("win32") == 1 and path and path:find(":/.*:/") then
path = path:gsub("^.-%:/", "", 1)
end
return LazyVim.root.realpath(path)
return M.realpath(path)
end
function M.cwd()