aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-05-29 20:33:00 +0200
committerGitHub <noreply@github.com>2017-05-29 20:33:00 +0200
commit1b7a9bf4d2028e75a140e3b314901e58684f2b1a (patch)
tree2860c9db4994bc363a8a1ee036dd9dc2ad73b83b /test/functional/helpers.lua
parent9cc185dc6d9d665fe5ba3702a0a8af09151fe5c4 (diff)
parent5a151555c8dce70bbf235e7f6d5bd1ced5e7c46c (diff)
downloadrneovim-1b7a9bf4d2028e75a140e3b314901e58684f2b1a.tar.gz
rneovim-1b7a9bf4d2028e75a140e3b314901e58684f2b1a.tar.bz2
rneovim-1b7a9bf4d2028e75a140e3b314901e58684f2b1a.zip
Merge pull request #6594 from bfredl/sockopen
connect to socket (RPC only for the moment)
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index b03840b3fe..62b0ce1200 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -76,8 +76,8 @@ end
local session, loop_running, last_error
-local function set_session(s)
- if session then
+local function set_session(s, keep)
+ if session and not keep then
session:close()
end
session = s
@@ -609,6 +609,7 @@ local module = {
nvim = nvim,
nvim_async = nvim_async,
nvim_prog = nvim_prog,
+ nvim_argv = nvim_argv,
nvim_set = nvim_set,
nvim_dir = nvim_dir,
buffer = buffer,