1
0
forked from aniani/vim

patch 9.0.1061: cannot display 'showcmd' somewhere else

Problem:    Cannot display 'showcmd' somewhere else.
Solution:   Add the 'showcmdloc' option. (Luuk van Baal, closes #11684)
This commit is contained in:
Luuk van Baal
2022-12-15 13:15:39 +00:00
committed by Bram Moolenaar
parent 3d473ee1a6
commit ba936f6f4e
19 changed files with 152 additions and 18 deletions

View File

@@ -343,6 +343,7 @@ typedef enum {
#define STL_ALTPERCENT 'P' // percentage as TOP BOT ALL or NN%
#define STL_ARGLISTSTAT 'a' // argument list status as (x of y)
#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_TRUNCMARK '<' // truncation mark if line is too long
@@ -350,7 +351,7 @@ typedef enum {
#define STL_HIGHLIGHT '#' // highlight name
#define STL_TABPAGENR 'T' // tab page label nr
#define STL_TABCLOSENR 'X' // tab page close nr
#define STL_ALL ((char_u *) "fFtcvVlLknoObBrRhHmYyWwMqpPaN{#")
#define STL_ALL ((char_u *) "fFtcvVlLknoObBrRhHmYyWwMqpPaNS{#")
// flags used for parsed 'wildmode'
#define WIM_FULL 0x01
@@ -892,6 +893,7 @@ EXTERN int p_sn; // 'shortname'
EXTERN char_u *p_sbr; // 'showbreak'
#endif
EXTERN int p_sc; // 'showcmd'
EXTERN char_u *p_sloc; // 'showcmdloc'
EXTERN int p_sft; // 'showfulltag'
EXTERN int p_sm; // 'showmatch'
EXTERN int p_smd; // 'showmode'