Monday, August 2, 2021

Statusline's minwidth not respected?

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.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/se8cqm%24b7j%241%40ciao.gmane.io.

No comments:

Post a Comment