mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
RPC: turn errors from async calls into notifications
Previously, nvim sent a response with invalid request id (UINT64_MAX). In functionaltests, catch unexpected error notifications in after_each().
This commit is contained in:
@@ -181,6 +181,8 @@ Standard Features ~
|
||||
- Clients should call |nvim_set_client_info()| after connecting, so users and
|
||||
plugins can detect the client by handling the |ChanInfo| event. This
|
||||
avoids the need for special variables or other client hints.
|
||||
- Clients should handle |nvim_error_event| notifications, which will be sent
|
||||
if an async request to nvim was rejected or caused an error.
|
||||
|
||||
Package Naming ~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user