Skip to content

Commit

Permalink
fix(lualine): normalize paths before calculating pretty path. Fixes L…
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 11, 2024
1 parent 0137a11 commit ea266e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lazyvim/util/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit ea266e7

Please sign in to comment.