From 4da5cb38d396d76d8072815d150725f7c9a85078 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Thu, 20 Sep 2018 19:19:38 +0200 Subject: startup: always wait for UI with --embed, unless --headless also is supplied --- src/nvim/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/channel.c') diff --git a/src/nvim/channel.c b/src/nvim/channel.c index 36423d0aa1..259f1cc600 100644 --- a/src/nvim/channel.c +++ b/src/nvim/channel.c @@ -432,7 +432,7 @@ uint64_t channel_from_stdio(bool rpc, CallbackReader on_output, const char **error) FUNC_ATTR_NONNULL_ALL { - if (!headless_mode) { + if (!headless_mode && !embedded_mode) { *error = _("can only be opened in headless mode"); return 0; } -- cgit