1
0
forked from aniani/vim

patch 7.4.2306

Problem:    Default value for 'langremap' is wrong.
Solution:   Set the right value. (Jürgen Krämer)  Add a test.
This commit is contained in:
Bram Moolenaar
2016-09-02 19:34:10 +02:00
parent 19a1669ffc
commit da9ce2cde1
3 changed files with 11 additions and 1 deletions

View File

@@ -72,6 +72,14 @@ func Test_map_langmap()
set nolangremap
call assert_equal(1, &langnoremap)
" check default values
set langnoremap&
call assert_equal(0, &langnoremap)
call assert_equal(1, &langremap)
set langremap&
call assert_equal(0, &langnoremap)
call assert_equal(1, &langremap)
" langmap should not apply in insert mode, 'langremap' doesn't matter
set langmap=+{ nolangremap
call feedkeys("Go+\<Esc>", "xt")