diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/api.txt | 6 | ||||
-rw-r--r-- | runtime/doc/news.txt | 3 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/api.lua | 6 |
3 files changed, 13 insertions, 2 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 793fcd703b..343c63f4b0 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -1336,7 +1336,11 @@ nvim_set_client_info({name}, {version}, {type}, {methods}, {attributes}) • {type} Must be one of the following values. Client libraries should default to "remote" unless overridden by the user. - • "remote" remote client connected to Nvim. + • "remote" remote client connected "Nvim flavored" + MessagePack-RPC (responses must be in reverse order of + requests). |msgpack-rpc| + • "msgpack-rpc" remote client connected to Nvim via + fully MessagePack-RPC compliant protocol. • "ui" gui frontend • "embedder" application using Nvim as a component (for example, IDE/editor implementing a vim mode). diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 637a33b555..56bdd07171 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -152,6 +152,9 @@ The following new APIs and features were added. • Functions that take a severity as an optional parameter (e.g. |vim.diagnostic.get()|) now also accept a list of severities |vim.diagnostic.severity| +• New RPC client type `msgpack-rpc` is added for `nvim_set_client_info` to + support fully MessagePack-RPC compliant clients. + ============================================================================== CHANGED FEATURES *news-changed* diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index c0e4e35e7d..fdf5016b68 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -1679,7 +1679,11 @@ function vim.api.nvim_select_popupmenu_item(item, insert, finish, opts) end --- @param type string Must be one of the following values. Client libraries --- should default to "remote" unless overridden by the --- user. ---- • "remote" remote client connected to Nvim. +--- • "remote" remote client connected "Nvim flavored" +--- MessagePack-RPC (responses must be in reverse order of +--- requests). `msgpack-rpc` +--- • "msgpack-rpc" remote client connected to Nvim via +--- fully MessagePack-RPC compliant protocol. --- • "ui" gui frontend --- • "embedder" application using Nvim as a component (for --- example, IDE/editor implementing a vim mode). |