forked from aniani/vim
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:
@@ -8,6 +8,15 @@ STARTTEST
|
||||
:inoreab чкпр vim
|
||||
GAчкпр
|
||||
|
||||
|
||||
: " langmap should not get remapped in insert mode
|
||||
:inoremap { FAIL_ilangmap
|
||||
:set langmap=+{ langnoremap
|
||||
o+
|
||||
: " expr mapping with langmap
|
||||
:inoremap <expr> { "FAIL_iexplangmap"
|
||||
o+
|
||||
|
||||
:/^test/,$w! test.out
|
||||
:qa!
|
||||
ENDTEST
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
test starts here:
|
||||
vim
|
||||
+
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user