fix(statuscolumn): right align signs when virtnum > 0
This commit is contained in:
1 file changed
+4
@@ -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