Concat squashed path after filename highlighting has been applied

This commit is contained in:
Jamie Davies 2024-08-31 15:47:05 +01:00
parent 0eb400908d
commit ff32a35004
No known key found for this signature in database

View file

@ -106,7 +106,7 @@ function M.pretty_path(opts)
if opts.length == 0 then
parts = parts
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
if opts.modified_hl and vim.bo.modified then