mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(lualine): normalize paths before calculating pretty path. Fixes #4763
This commit is contained in:
parent
0137a110c1
commit
ea266e7326
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ function M.pretty_path(opts)
|
|||
return ""
|
||||
end
|
||||
|
||||
path = LazyVim.norm(path)
|
||||
local root = LazyVim.root.get({ normalize = true })
|
||||
local cwd = LazyVim.root.cwd()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue