diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-05 14:10:32 -0700 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-05 14:10:32 -0700 |
commit | 8b06231612cd608b2dce5e0a09bf40192a4803cb (patch) | |
tree | 04fbfef7b326574e296b2fe1a772829ac0af8be4 /test/functional/api/keymap_spec.lua | |
parent | 096212d52c6375c19c046d86a7178bae91e287fc (diff) | |
parent | d3f1eb3024fa297c970a79dd24ef818e4aeb8525 (diff) | |
download | rneovim-8b06231612cd608b2dce5e0a09bf40192a4803cb.tar.gz rneovim-8b06231612cd608b2dce5e0a09bf40192a4803cb.tar.bz2 rneovim-8b06231612cd608b2dce5e0a09bf40192a4803cb.zip |
Merge #10869 'vim-patch:8.1.{0309,0362,0365,0515,1946}'
Diffstat (limited to 'test/functional/api/keymap_spec.lua')
-rw-r--r-- | test/functional/api/keymap_spec.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/api/keymap_spec.lua b/test/functional/api/keymap_spec.lua index 73c55a342c..fee787162e 100644 --- a/test/functional/api/keymap_spec.lua +++ b/test/functional/api/keymap_spec.lua @@ -29,6 +29,7 @@ describe('nvim_get_keymap', function() nowait=0, mode='n', noremap=1, + lnum=0, } it('returns empty list when no map', function() @@ -250,6 +251,7 @@ describe('nvim_get_keymap', function() buffer=0, nowait=0, noremap=1, + lnum=0, } local function cpomap(lhs, rhs, mode) local ret = shallowcopy(cpo_table) @@ -306,6 +308,7 @@ describe('nvim_get_keymap', function() buffer=0, nowait=0, noremap=1, + lnum=0, } command('nnoremap \\|<Char-0x20><Char-32><Space><Bar> \\|<Char-0x20><Char-32><Space> <Bar>') eq({space_table}, meths.get_keymap('n')) @@ -345,6 +348,7 @@ describe('nvim_set_keymap, nvim_del_keymap', function() to_return.expr = not opts.expr and 0 or 1 to_return.sid = not opts.sid and 0 or opts.sid to_return.buffer = not opts.buffer and 0 or opts.buffer + to_return.lnum = not opts.lnum and 0 or opts.lnum return to_return end |