mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
startup: always wait for UI with --embed, unless --headless also is supplied
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user