mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
@@ -247,10 +247,20 @@ the editor.
|
||||
Indicates to the UI that it must stop rendering the cursor. This event
|
||||
is misnamed and does not actually have anything to do with busyness.
|
||||
|
||||
["connect", server_addr] ~
|
||||
User invoked the |:connect| command. Nvim detached the current UI.
|
||||
|
||||
UI is expected to:
|
||||
1. Attach to the server at `server_addr`.
|
||||
|
||||
["restart", listen_addr] ~
|
||||
|:restart| command has been used and the Nvim server is about to exit.
|
||||
After the current server's channel is closed, the UI should attach to
|
||||
the new server's listening address at `listen_addr`.
|
||||
User invoked the |:restart| command. Nvim started a new server. The
|
||||
old server is about to exit and close its channel.
|
||||
|
||||
UI is expected to:
|
||||
1. Wait for the channel to be closed, to confirm that the old server
|
||||
actually exited.
|
||||
2. Attach to the new server at `listen_addr`.
|
||||
|
||||
["suspend"] ~
|
||||
|:suspend| command or |CTRL-Z| mapping is used. A terminal client (or
|
||||
|
||||
@@ -27,7 +27,7 @@ void visual_bell(void)
|
||||
FUNC_API_SINCE(3);
|
||||
void flush(void)
|
||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_IMPL;
|
||||
void connect(Array args)
|
||||
void connect(String server_addr)
|
||||
FUNC_API_SINCE(14) FUNC_API_REMOTE_ONLY FUNC_API_REMOTE_IMPL FUNC_API_CLIENT_IMPL;
|
||||
void restart(String listen_addr)
|
||||
FUNC_API_SINCE(14) FUNC_API_REMOTE_ONLY FUNC_API_REMOTE_IMPL FUNC_API_CLIENT_IMPL;
|
||||
|
||||
Reference in New Issue
Block a user