Merge #40621 fix(ui2)!: legacy 'ruler' inconsistencies

This commit is contained in:
Justin M. Keyes
2026-07-15 08:13:37 -04:00
committed by GitHub
16 changed files with 208 additions and 42 deletions

View File

@@ -7072,6 +7072,13 @@ local options = {
Example: >vim
set rulerformat=%15(%c%V\ %p%%%)
<
This looks like an item group, but there are some differences in this
particular case. Most notably, the width is fixed and not a minimum,
and the ruler is left-aligned, whereas the alignment of item groups is
configurable and right-aligned by default.
When |ui2| is enabled, the ruler no longer has a fixed width and the
item group syntax has no special meaning for 'rulerformat'.
]=],
full_name = 'rulerformat',
modelineexpr = true,