diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-30 00:10:26 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-30 00:10:26 -0500 |
commit | a31bcfb98afbe4d845911b4d90255c18769f197a (patch) | |
tree | 58651f5390fa7b3ae968a2c2978fde7c35f91ef4 /test/functional/legacy/mapping_spec.lua | |
parent | 13d950f6edf5c1d3cc28059bfe497df3c677d45a (diff) | |
parent | e27460b60cb3d725ecfe8ba34438642fdb174280 (diff) | |
download | rneovim-a31bcfb98afbe4d845911b4d90255c18769f197a.tar.gz rneovim-a31bcfb98afbe4d845911b4d90255c18769f197a.tar.bz2 rneovim-a31bcfb98afbe4d845911b4d90255c18769f197a.zip |
Merge pull request #1742 from fwalch/vim-7.4.552
vim-patch:7.4.552
Diffstat (limited to 'test/functional/legacy/mapping_spec.lua')
-rw-r--r-- | test/functional/legacy/mapping_spec.lua | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/functional/legacy/mapping_spec.lua b/test/functional/legacy/mapping_spec.lua index 46d29d1692..1451b268c5 100644 --- a/test/functional/legacy/mapping_spec.lua +++ b/test/functional/legacy/mapping_spec.lua @@ -18,9 +18,20 @@ describe('mapping', function() execute('inoreab чкпр vim') feed('GAчкпр <cr><esc>') + -- langmap should not get remapped in insert mode. + execute('inoremap { FAIL_ilangmap') + execute('set langmap=+{ langnoremap') + feed('o+<esc>') + + -- expr mapping with langmap. + execute('inoremap <expr> { "FAIL_iexplangmap"') + feed('o+<esc>') + -- Assert buffer contents. expect([[ test starts here: - vim]]) + vim + + + +]]) end) end) |