diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-09-23 16:49:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-09-23 16:49:46 +0200 |
commit | 1db60c47d9a0f14f4586702bfd8fccd8ea96f83f (patch) | |
tree | 27a97f7d73f1053fad6153531df62fcd79bbf0c8 | |
parent | b8ee25acabe887aec5008fd254c4e5c61bebbb04 (diff) | |
download | vim-git-1db60c47d9a0f14f4586702bfd8fccd8ea96f83f.tar.gz |
updated for version 7.4.457v7.4.457
Problem: Using getchar() in an expression mapping may result in
K_CURSORHOLD, which can't be recognized.
Solution: Add the <CursorHold> key. (Hirohito Higashi)
-rw-r--r-- | src/misc2.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c index 1fe0e87cf..d421a00bc 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -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} }; diff --git a/src/version.c b/src/version.c index 50639fd64..bca37f54f 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 457, +/**/ 456, /**/ 455, |