diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-07-10 17:19:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-07-10 17:19:30 +0200 |
commit | ae94b7718ab5ecc820ce487c9ea0178c04a9853c (patch) | |
tree | 4b71df9aebda44c988269caeb70326be82d46884 /src/getchar.c | |
parent | 5c5c9801b1e28050a40cef80aeba1ecdea6ea411 (diff) |
patch 7.4.773v7.4.773
Problem: 'langmap' is used in command-line mode when checking for mappings.
Issue 376.
Solution: Do not use 'langmap' in command-line mode. (Larry Velazquez)
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c index 54bce315f3..a80432fc5a 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -2145,7 +2145,8 @@ vgetorpeek(advance) nolmaplen = 2; else { - LANGMAP_ADJUST(c1, (State & INSERT) == 0); + LANGMAP_ADJUST(c1, + (State & (CMDLINE | INSERT)) == 0); nolmaplen = 0; } #endif |