fix(lualine): normalize paths before calculating pretty path. Fixes #4763
This commit is contained in:
@ -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()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user