0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.552

Problem:    Langmap applies to Insert mode expression mappings.
Solution:   Check for Insert mode. (Daniel Hahler)
This commit is contained in:
Bram Moolenaar
2014-12-14 00:43:54 +01:00
parent b12db9f92e
commit c68c72ea7b
4 changed files with 14 additions and 1 deletions

View File

@@ -2145,7 +2145,7 @@ vgetorpeek(advance)
nolmaplen = 2;
else
{
LANGMAP_ADJUST(c1, TRUE);
LANGMAP_ADJUST(c1, (State & INSERT) == 0);
nolmaplen = 0;
}
#endif