diff src/buffer.c @ 9645:123d3c102035 v7.4.2099

commit https://github.com/vim/vim/commit/73ac0c4281a3606651604a3cbcc334bfb3859a87 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 24 16:17:59 2016 +0200 patch 7.4.2099 Problem: When a keymap is active only "(lang)" is displayed. (Ilya Dogolazky) Solution: Show the keymap name. (Dmitri Vereshchagin, closes https://github.com/vim/vim/issues/933)
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Jul 2016 16:30:05 +0200
parents bb538c090668
children fd9727ae3c49
line wrap: on
line diff
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4114,7 +4114,7 @@ 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: