Skip to content

Commit

Permalink
revert: "feat(bar): add truncate mark after the left padding"
Browse files Browse the repository at this point in the history
This reverts commit 3b7412c.
  • Loading branch information
bekaboo committed Jul 6, 2023
1 parent 3b7412c commit e07ef94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dropbar/bar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ function dropbar_t:cat(plain)
and result .. self.separator:cat(plain) .. component:cat(plain)
or component:cat(plain)
end
local padding_left = string.rep(' ', self.padding.left) .. '%<'
local padding_left = string.rep(' ', self.padding.left)
local padding_right = string.rep(' ', self.padding.right)
result = result and padding_left .. result .. padding_right or ''
return plain and result or hl(result, 'DropBar')
Expand Down

0 comments on commit e07ef94

Please sign in to comment.