Bug#688258: vim: Increase STL_MAX_ITEM (max number of %<flag> in statusline

Daniel Hahler debian-bugs at thequod.de
Thu Sep 20 18:54:33 UTC 2012


Package: vim
Version: 2:7.3.429-2ubuntu2.1
Severity: wishlist

Dear Maintainer,

please consider increasing the STL_MAX_ITEM constant in src/vim.h.

This is used to limit the number of maximum %-items in the 'statusline'
setting.

When using a plugin like Powerline [1], you are likely to hit E541 ("too much
items specified").

While this is certainly an issue to be raised upstream (as well), Debian and
its derivatives users might benefit from a patch for this.

The default is 80, which is the amount of used by the default theme in
Powerline already (see [2]).

I suggest increasing it to something like 200 or 256.


Thanks,
Daniel.

1: https://github.com/Lokaltog/vim-powerline
2: https://github.com/Lokaltog/vim-powerline/issues/170



More information about the pkg-vim-maintainers mailing list