aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-08-26 13:39:31 +0200
committerGitHub <noreply@github.com>2023-08-26 13:39:31 +0200
commit965ed579fe3ab9ded0e5ab20b54a5a8607188dac (patch)
treef399c58853201cbe319a61a076862a00184548ba /src/nvim/api/vim.c
parent362df0f7938a0e6147ecf886655a0689430d426d (diff)
parentb641fc38749a2a52e40fa7eca6c7c41b1d9b031c (diff)
downloadrneovim-965ed579fe3ab9ded0e5ab20b54a5a8607188dac.tar.gz
rneovim-965ed579fe3ab9ded0e5ab20b54a5a8607188dac.tar.bz2
rneovim-965ed579fe3ab9ded0e5ab20b54a5a8607188dac.zip
Merge pull request #24399 from lambdalisue/fix-messagepack-rpc
feat(msgpack_rpc): add a new `msgpack-rpc` client type to fix behavior with MessagePack-RPC compliant clients
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index b278a21d8e..411d63b921 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1500,7 +1500,10 @@ Array nvim_get_api_info(uint64_t channel_id, Arena *arena)
/// - "commit" hash or similar identifier of commit
/// @param 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).