vim-patch:7.4.457 #1713

Problem:  Using getchar() in an expression mapping may result in
          K_CURSORHOLD, which can't be recognized.
Solution: Add the <CursorHold> key.  (Hirohito Higashi)

https://code.google.com/p/vim/source/detail?r=v7-4-457
This commit is contained in:
Marco Hinz 2014-12-20 16:46:09 +01:00 committed by Justin M. Keyes
parent bac6fb41b2
commit c3de63bfbc
2 changed files with 2 additions and 1 deletions

View File

@ -281,6 +281,7 @@ static struct key_name_entry {
{K_ZERO, (char_u *)"Nul"}, {K_ZERO, (char_u *)"Nul"},
{K_SNR, (char_u *)"SNR"}, {K_SNR, (char_u *)"SNR"},
{K_PLUG, (char_u *)"Plug"}, {K_PLUG, (char_u *)"Plug"},
{K_CURSORHOLD, (char_u *)"CursorHold"},
{0, NULL} {0, NULL}
}; };

View File

@ -280,7 +280,7 @@ static int included_patches[] = {
//460 NA //460 NA
//459 NA //459 NA
//458, //458,
//457, 457,
456, 456,
455, 455,
454, 454,