]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.116 v7.4.116
authorBram Moolenaar <Bram@vim.org>
Wed, 11 Dec 2013 13:55:01 +0000 (14:55 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 11 Dec 2013 13:55:01 +0000 (14:55 +0100)
Problem:    When a mapping starts with a space, the typed space does not show
            up for 'showcmd'.
Solution:   Show "<20>". (Brook Hong)

src/normal.c
src/version.c

index 013fdcee456c483e732b2c82b8363c66c13b40e7..f76aeee37efc7f57e244483048e7fa7621360e6c 100644 (file)
@@ -4021,6 +4021,8 @@ add_to_showcmd(c)
 #endif
 
     p = transchar(c);
+    if (*p == ' ')
+       STRCPY(p, "<20>");
     old_len = (int)STRLEN(showcmd_buf);
     extra_len = (int)STRLEN(p);
     overflow = old_len + extra_len - SHOWCMD_COLS;
index a69488f16ed20cee4b732a1027692609afdafa2b..a44d9dd8b1797e7fccfbc590975f7ea21eac1793 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    116,
 /**/
     115,
 /**/