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:
committed by
Bram Moolenaar
parent
3d473ee1a6
commit
ba936f6f4e
@@ -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;
|
||||
|
Reference in New Issue
Block a user