mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.1300: 'statusline' only supports one "%=" item
Problem: 'statusline' only supports one "%=" item. Solution: Add support for multiple "%=" items. (TJ DeVries, Yegappan Lakshmanan, closes #11970, closes #11965)
This commit is contained in:
committed by
Bram Moolenaar
parent
412e0e4ed9
commit
3ec78f973f
@@ -587,7 +587,7 @@ check_stl_option(char_u *s)
|
||||
if (!*s)
|
||||
break;
|
||||
s++;
|
||||
if (*s == '%' || *s == STL_TRUNCMARK || *s == STL_MIDDLEMARK)
|
||||
if (*s == '%' || *s == STL_TRUNCMARK || *s == STL_SEPARATE)
|
||||
{
|
||||
s++;
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user