1
0
forked from aniani/vim

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

@@ -347,7 +347,8 @@ typedef enum {
#define STL_PAGENUM 'N' // page number (when printing)
#define STL_SHOWCMD 'S' // 'showcmd' buffer
#define STL_VIM_EXPR '{' // start of expression to substitute
#define STL_MIDDLEMARK '=' // separation between left and right
#define STL_SEPARATE '=' // separation between alignment
// sections
#define STL_TRUNCMARK '<' // truncation mark if line is too long
#define STL_USER_HL '*' // highlight from (User)1..9 or 0
#define STL_HIGHLIGHT '#' // highlight name