diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-12-01 16:44:36 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-12-03 10:42:00 +0100 |
commit | 8b42249cddf6b257e2eee808a41f3d6dd5af6846 (patch) | |
tree | 72de67ecda2504f44f5183daaddb60809e855415 /runtime/doc/develop.txt | |
parent | 07ad5d71ab97a84dc9c59b3507bf7898040d24cf (diff) | |
download | rneovim-8b42249cddf6b257e2eee808a41f3d6dd5af6846.tar.gz rneovim-8b42249cddf6b257e2eee808a41f3d6dd5af6846.tar.bz2 rneovim-8b42249cddf6b257e2eee808a41f3d6dd5af6846.zip |
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().
Diffstat (limited to 'runtime/doc/develop.txt')
-rw-r--r-- | runtime/doc/develop.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt index bcf43142ad..2c919f9104 100644 --- a/runtime/doc/develop.txt +++ b/runtime/doc/develop.txt @@ -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 ~ |