mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:7.4.552
Problem: Langmap applies to Insert mode expression mappings. Solution: Check for Insert mode. (Daniel Hahler) https://code.google.com/p/vim/source/detail?r=v7-4-552
This commit is contained in:
@@ -1775,7 +1775,7 @@ static int vgetorpeek(int advance)
|
||||
if (c1 == K_SPECIAL)
|
||||
nolmaplen = 2;
|
||||
else {
|
||||
LANGMAP_ADJUST(c1, TRUE);
|
||||
LANGMAP_ADJUST(c1, (State & INSERT) == 0);
|
||||
nolmaplen = 0;
|
||||
}
|
||||
/* First try buffer-local mappings. */
|
||||
|
Reference in New Issue
Block a user