aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 6055cc3c59..07e0809dbc 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -246,6 +246,10 @@ local function nvim(method, ...)
return request('vim_'..method, ...)
end
+local function nvim_async(method, ...)
+ session:notify('vim_'..method, ...)
+end
+
local function buffer(method, ...)
return request('buffer_'..method, ...)
end
@@ -341,6 +345,7 @@ return {
expect = expect,
ok = ok,
nvim = nvim,
+ nvim_async = nvim_async,
nvim_prog = nvim_prog,
nvim_dir = nvim_dir,
buffer = buffer,