vim-patch:7.4.2099 (#5951)

Problem:    When a keymap is active only "(lang)" is displayed. (Ilya
            Dogolazky)
Solution:   Show the keymap name. (Dmitri Vereshchagin, closes vim/vim#933)

73ac0c4281
This commit is contained in:
Shougo
2017-01-16 06:24:12 +09:00
committed by Justin M. Keyes
parent b5560a69b1
commit 3fd7be6d3e
3 changed files with 13 additions and 11 deletions

View File

@@ -3443,7 +3443,7 @@ int build_stl_str_hl(
case STL_KEYMAP:
fillable = false;
if (get_keymap_str(wp, tmp, TMPLEN))
if (get_keymap_str(wp, (char_u *)"<%s>", tmp, TMPLEN))
str = tmp;
break;
case STL_PAGENUM: