fix(lualine): normalize paths before calculating pretty path. Fixes #4763

This commit is contained in:
Folke Lemaitre
2024-11-11 15:44:06 +01:00
parent 0137a110c1
commit ea266e7326

View File

@ -91,6 +91,7 @@ function M.pretty_path(opts)
return "" return ""
end end
path = LazyVim.norm(path)
local root = LazyVim.root.get({ normalize = true }) local root = LazyVim.root.get({ normalize = true })
local cwd = LazyVim.root.cwd() local cwd = LazyVim.root.cwd()