0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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

@@ -4775,6 +4775,11 @@ build_stl_str_hl(
get_rel_pos(wp, str, TMPLEN);
break;
case STL_SHOWCMD:
if (p_sc && STRCMP(opt_name, p_sloc) == 0)
str = showcmd_buf;
break;
case STL_ARGLISTSTAT:
fillable = FALSE;
buf_tmp[0] = 0;