mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
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:
parent
b9d38f6920
commit
33992ddca3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue