feat(server): allow embed with listen (#25709)

connection from any channel or stdio will unblock
remote_ui_wait_for_attach.  Wait on stdio only if
only —embed specified, if both —embed and
—listen then wait on any channel.
This commit is contained in:
George Harker
2023-10-31 20:04:53 -07:00
committed by GitHub
parent 746a153bc1
commit 4e6096a67f
4 changed files with 82 additions and 11 deletions

View File

@@ -390,6 +390,10 @@ argument.
< Then startup will continue without waiting for `nvim_ui_attach`.
This is equivalent to: >
nvim --headless --cmd "call stdioopen({'rpc': v:true})"
<
Embedders that use the UI protocol on a socket connection must
pass |--listen| as well as |--embed|: >
nvim --embed --listen addr
< See also: |ui-startup| |channel-stdio|