]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.457 v7.4.457
authorBram Moolenaar <Bram@vim.org>
Tue, 23 Sep 2014 14:49:46 +0000 (16:49 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 23 Sep 2014 14:49:46 +0000 (16:49 +0200)
Problem:    Using getchar() in an expression mapping may result in
            K_CURSORHOLD, which can't be recognized.
Solution:   Add the <CursorHold> key.  (Hirohito Higashi)

src/misc2.c
src/version.c

index 1fe0e87cf1c37c15d39582b5ddcc7ea83b71e425..d421a00bc0b133725c8039c1a2d17b2fb4cf9270 100644 (file)
@@ -2471,6 +2471,7 @@ static struct key_name_entry
     {K_SNR,            (char_u *)"SNR"},
 #endif
     {K_PLUG,           (char_u *)"Plug"},
+    {K_CURSORHOLD,     (char_u *)"CursorHold"},
     {0,                        NULL}
 };
 
index 50639fd642347f136314d65281d1b2060a65338c..bca37f54fa5260a26c8b6a105cfc57b7024afb03 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    457,
 /**/
     456,
 /**/