mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 09:18:51 +02:00
fix(statuscolumn): right align signs when virtnum > 0
This commit is contained in:
parent
9a2f773090
commit
a786c471df
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue