fix: increase placeholder width for better rendering

The ellipsis is no longer cut off by the path separator due to the lack
of extra width
This commit is contained in:
Matt Rogers 2025-09-21 17:33:17 -05:00
parent b9d38f6920
commit 33992ddca3
No known key found for this signature in database

View file

@ -124,7 +124,7 @@ function M.pretty_path(opts)
if opts.length == 0 then
parts = parts
elseif #parts > opts.length then
parts = { parts[1], "", unpack(parts, #parts - opts.length + 2, #parts) }
parts = { parts[1], " ", unpack(parts, #parts - opts.length + 2, #parts) }
end
if opts.modified_hl and vim.bo.modified then