mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Concat squashed path after filename highlighting has been applied
This commit is contained in:
parent
0eb400908d
commit
ff32a35004
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ function M.pretty_path(opts)
|
||||||
if opts.length == 0 then
|
if opts.length == 0 then
|
||||||
parts = parts
|
parts = parts
|
||||||
elseif #parts > opts.length then
|
elseif #parts > opts.length then
|
||||||
parts = { parts[1], "…", table.concat({ unpack(parts, #parts - opts.length + 2, #parts) }, sep) }
|
parts = { parts[1], "…", unpack(parts, #parts - opts.length + 2, #parts) }
|
||||||
end
|
end
|
||||||
|
|
||||||
if opts.modified_hl and vim.bo.modified then
|
if opts.modified_hl and vim.bo.modified then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue