aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-09-18 20:52:13 +0200
committerGitHub <noreply@github.com>2018-09-18 20:52:13 +0200
commit809fff94e6786875cc852b98550cc73e65b33a87 (patch)
tree1798c2487a0a84ae7e98ac5d61906ca21742601e /test/functional/helpers.lua
parent32ad52ae04d3fea1fa84594b9b13ee1442a410ca (diff)
parentbd8d43c6fef868ad5ed50a79deb0f7adc1f5e53a (diff)
downloadrneovim-809fff94e6786875cc852b98550cc73e65b33a87.tar.gz
rneovim-809fff94e6786875cc852b98550cc73e65b33a87.tar.bz2
rneovim-809fff94e6786875cc852b98550cc73e65b33a87.zip
Merge pull request #8754 from bfredl/embed_ui
startup: make --embed wait for first request so embedding UI can display startup messages
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 72e71a2cf2..8823a6e003 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -362,6 +362,8 @@ local function clear(...)
table.insert(args, arg)
end
set_session(spawn(args, nil, env))
+ -- Dummy request so that --embed continues past UI initialization
+ session:request('nvim_eval', "0")
end
local function insert(...)