0
0
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:
Yegappan Lakshmanan
2023-02-11 11:15:25 +00:00
committed by Bram Moolenaar
parent 412e0e4ed9
commit 3ec78f973f
6 changed files with 72 additions and 24 deletions

View File

@@ -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;