diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-12-14 00:43:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-12-14 00:43:54 +0100 |
commit | c68c72ea7bbc92ce7cc2c746ce6408dc6cbe06cd (patch) | |
tree | 847a39ac093febb4817bc4371d32b61327e0606b /src/getchar.c | |
parent | b12db9f92ea74039bb0b4110add4232f0bf338ea (diff) | |
download | vim-git-c68c72ea7bbc92ce7cc2c746ce6408dc6cbe06cd.tar.gz |
updated for version 7.4.552v7.4.552
Problem: Langmap applies to Insert mode expression mappings.
Solution: Check for Insert mode. (Daniel Hahler)
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c index c9ee4d051..174cfa892 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -2145,7 +2145,7 @@ vgetorpeek(advance) nolmaplen = 2; else { - LANGMAP_ADJUST(c1, TRUE); + LANGMAP_ADJUST(c1, (State & INSERT) == 0); nolmaplen = 0; } #endif |