diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-07-13 20:54:52 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-07-13 20:54:52 +0200 |
commit | fc45c978297b76e76756345798a2c51cbbb909dc (patch) | |
tree | a1493dde9df6d3a8786b55cdce33f49e24a07818 /test/functional/api/command_spec.lua | |
parent | 01570f1ff3c402af9a9a48c2cca2c5a830c08315 (diff) | |
parent | eaf54132f98c6d865a3434799c7348a3edfa98af (diff) | |
download | rneovim-fc45c978297b76e76756345798a2c51cbbb909dc.tar.gz rneovim-fc45c978297b76e76756345798a2c51cbbb909dc.tar.bz2 rneovim-fc45c978297b76e76756345798a2c51cbbb909dc.zip |
Merge #8736 'vim-patch:8.0.0697: stable keymap.h'
Diffstat (limited to 'test/functional/api/command_spec.lua')
-rw-r--r-- | test/functional/api/command_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/api/command_spec.lua b/test/functional/api/command_spec.lua index f3f9f93649..b7520235b7 100644 --- a/test/functional/api/command_spec.lua +++ b/test/functional/api/command_spec.lua @@ -55,9 +55,9 @@ describe('nvim_get_commands', function() it('gets various command attributes', function() local cmd0 = { addr='arguments', bang=false, bar=false, complete='dir', complete_arg=NIL, count='10', definition='pwd <args>', name='TestCmd', nargs='0', range='10', register=false, script_id=0, } local cmd1 = { addr=NIL, bang=false, bar=false, complete='custom', complete_arg='ListUsers', count=NIL, definition='!finger <args>', name='Finger', nargs='+', range=NIL, register=false, script_id=1, } - local cmd2 = { addr=NIL, bang=true, bar=false, complete=NIL, complete_arg=NIL, count=NIL, definition='call \128\253Q2_foo(<q-args>)', name='Cmd2', nargs='*', range=NIL, register=false, script_id=2, } - local cmd3 = { addr=NIL, bang=false, bar=true, complete=NIL, complete_arg=NIL, count=NIL, definition='call \128\253Q3_ohyeah()', name='Cmd3', nargs='0', range=NIL, register=false, script_id=3, } - local cmd4 = { addr=NIL, bang=false, bar=false, complete=NIL, complete_arg=NIL, count=NIL, definition='call \128\253Q4_just_great()', name='Cmd4', nargs='0', range=NIL, register=true, script_id=4, } + local cmd2 = { addr=NIL, bang=true, bar=false, complete=NIL, complete_arg=NIL, count=NIL, definition='call \128\253R2_foo(<q-args>)', name='Cmd2', nargs='*', range=NIL, register=false, script_id=2, } + local cmd3 = { addr=NIL, bang=false, bar=true, complete=NIL, complete_arg=NIL, count=NIL, definition='call \128\253R3_ohyeah()', name='Cmd3', nargs='0', range=NIL, register=false, script_id=3, } + local cmd4 = { addr=NIL, bang=false, bar=false, complete=NIL, complete_arg=NIL, count=NIL, definition='call \128\253R4_just_great()', name='Cmd4', nargs='0', range=NIL, register=true, script_id=4, } source([[ command -complete=custom,ListUsers -nargs=+ Finger !finger <args> ]]) |