mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #1189 from Shougo/vim-patch-7.4.374
vim-patch:7.4.374
This commit is contained in:
commit
a85f7d35d8
@ -845,7 +845,10 @@ getcount:
|
||||
|
||||
/* When getting a text character and the next character is a
|
||||
* multi-byte character, it could be a composing character.
|
||||
* However, don't wait for it to arrive. */
|
||||
* However, don't wait for it to arrive. Also, do enable mapping,
|
||||
* because if it's put back with vungetc() it's too late to apply
|
||||
* mapping. */
|
||||
no_mapping--;
|
||||
while (enc_utf8 && lang && (c = vpeekc()) > 0
|
||||
&& (c >= 0x100 || MB_BYTE2LEN(vpeekc()) > 1)) {
|
||||
c = plain_vgetc();
|
||||
@ -857,6 +860,7 @@ getcount:
|
||||
else
|
||||
ca.ncharC2 = c;
|
||||
}
|
||||
no_mapping++;
|
||||
}
|
||||
--no_mapping;
|
||||
--allow_keys;
|
||||
|
@ -221,7 +221,7 @@ static int included_patches[] = {
|
||||
377,
|
||||
376,
|
||||
//375,
|
||||
//374,
|
||||
374,
|
||||
373,
|
||||
372,
|
||||
371,
|
||||
|
Loading…
Reference in New Issue
Block a user