Statusline's minwidth not respected?

21 views
Skip to first unread message

Lifepillar

unread,
Aug 2, 2021, 5:11:06 AM8/2/21
to vim...@googlegroups.com
Vim gurus,
if I set the statusline as follows:

set statusline=X%1MX

the % item does not occupy any space if the buffer is unmodified,
despite the minimum width of one character. Is that expected behaviour?

What I would expect is what I get with:

set statusline=X%1(%M%)X

Thanks,
Life.

Reply all
Reply to author
Forward
0 new messages