fix(statuscolumn): right align signs when virtnum > 0
This commit is contained in:
@ -136,6 +136,10 @@ function M.statuscolumn()
|
||||
components[2] = "%=" .. components[2] .. " " -- right align
|
||||
end
|
||||
|
||||
if vim.v.virtnum ~= 0 then
|
||||
components[2] = "%= "
|
||||
end
|
||||
|
||||
return table.concat(components, "")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user