Merge pull request #1192 from Shougo/vim-patch-7.4.382

vim-patch:7.4.382
This commit is contained in:
Justin M. Keyes
2014-09-19 10:59:27 -04:00
2 changed files with 7 additions and 1 deletions

View File

@@ -2209,6 +2209,12 @@ static int vgetorpeek(int advance)
}
if (c < 0)
continue; /* end of input script reached */
// Allow mapping for just typed characters. When we get here c
// is the number of extra bytes and typebuf.tb_len is 1.
for (n = 1; n <= c; n++) {
typebuf.tb_noremap[typebuf.tb_off + n] = RM_YES;
}
typebuf.tb_len += c;
/* buffer full, don't map */

View File

@@ -213,7 +213,7 @@ static int included_patches[] = {
//385,
//384 NA
383,
//382,
382,
381,
//380 NA
379,