diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2015-08-26 10:33:46 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2015-08-26 10:33:46 +0200 |
commit | 2e874d5120e7b7521fe72d5bc80e5afed26c1862 (patch) | |
tree | abd341bc507268574b97340b95eade3f3fab0c63 /test/functional/helpers.lua | |
parent | b4d29fe06738b1b7b27b163c237dfa6cd0a0c183 (diff) | |
parent | 2b6d1546ecfb24a6cf7ef970bcea3b9a288ad5a5 (diff) | |
download | rneovim-2e874d5120e7b7521fe72d5bc80e5afed26c1862.tar.gz rneovim-2e874d5120e7b7521fe72d5bc80e5afed26c1862.tar.bz2 rneovim-2e874d5120e7b7521fe72d5bc80e5afed26c1862.zip |
Merge branch 'test59rb'
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 799b57494b..f228f6290c 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -129,6 +129,10 @@ local function nvim_eval(expr) return request('vim_eval', expr) end +local function nvim_call(name, ...) + return request('vim_call_function', name, {...}) +end + local function nvim_feed(input) while #input > 0 do local written = request('vim_input', input) @@ -321,6 +325,7 @@ return { feed = feed, execute = execute, eval = nvim_eval, + call = nvim_call, command = nvim_command, request = request, next_message = next_message, |