aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorGeorge Harker <george@george-graphics.co.uk>2023-10-31 20:04:53 -0700
committerGitHub <noreply@github.com>2023-11-01 11:04:53 +0800
commit4e6096a67fe9860994be38bcd155e7c47313205e (patch)
treea4f7ee6792bc27789bd6c052e3d26f2ae51eba72 /runtime
parent746a153bc1a1bc1433a1246fcf454eeb058b9de1 (diff)
downloadrneovim-4e6096a67fe9860994be38bcd155e7c47313205e.tar.gz
rneovim-4e6096a67fe9860994be38bcd155e7c47313205e.tar.bz2
rneovim-4e6096a67fe9860994be38bcd155e7c47313205e.zip
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.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/starting.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index af175ed2b9..9f7a729575 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -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|