diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-09-20 19:19:38 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-09-22 10:18:28 +0200 |
commit | 4da5cb38d396d76d8072815d150725f7c9a85078 (patch) | |
tree | 426eb0f7525621d9760bb2cbf394d5c42b691775 /test/functional/plugin/helpers.lua | |
parent | 7f990741f7018b5e52833f2da6913b97c6d2d5ee (diff) | |
download | rneovim-4da5cb38d396d76d8072815d150725f7c9a85078.tar.gz rneovim-4da5cb38d396d76d8072815d150725f7c9a85078.tar.bz2 rneovim-4da5cb38d396d76d8072815d150725f7c9a85078.zip |
startup: always wait for UI with --embed, unless --headless also is supplied
Diffstat (limited to 'test/functional/plugin/helpers.lua')
-rw-r--r-- | test/functional/plugin/helpers.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/plugin/helpers.lua b/test/functional/plugin/helpers.lua index bd482d2db7..4359380bd7 100644 --- a/test/functional/plugin/helpers.lua +++ b/test/functional/plugin/helpers.lua @@ -3,7 +3,6 @@ local paths = require('test.config.paths') local helpers = require('test.functional.helpers')(nil) local spawn, set_session, nvim_prog, merge_args = helpers.spawn, helpers.set_session, helpers.nvim_prog, helpers.merge_args -local request = helpers.request local additional_cmd = '' @@ -14,7 +13,7 @@ local function nvim_argv(shada_file) '--cmd', 'set shortmess+=I background=light noswapfile belloff= noshowcmd noruler', '--cmd', 'let &runtimepath=' .. rtp_value, '--cmd', additional_cmd, - '--embed'} + '--embed', '--headless'} if helpers.prepend_argv then return merge_args(helpers.prepend_argv, nvim_args) else @@ -30,7 +29,6 @@ local function reset(...) end session = spawn(nvim_argv(...)) set_session(session) - request('nvim_eval', "0") end local function set_additional_cmd(s) |