aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/msgpack_rpc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/msgpack_rpc.txt')
-rw-r--r--runtime/doc/msgpack_rpc.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/doc/msgpack_rpc.txt b/runtime/doc/msgpack_rpc.txt
index 01d4e10cea..a29569f049 100644
--- a/runtime/doc/msgpack_rpc.txt
+++ b/runtime/doc/msgpack_rpc.txt
@@ -190,10 +190,10 @@ prefix is stripped off.
5. Types *rpc-types*
The Nvim C API uses custom types for all functions. |api-types|
-At the RPC layer, the types can be split into two groups:
+At the RPC layer, types form two groups:
- - Basic types that map natively to msgpack (and probably have a default
- representation in msgpack-supported programming languages)
+ - Basic types that map natively to msgpack (and have a default
+ representation in most msgpack-supported programming languages)
- Special Nvim types that map to msgpack EXT with custom type codes.
Basic types ~
@@ -206,6 +206,8 @@ Basic types ~
Array -> msgpack array
Dictionary -> msgpack map
+ Note: in function calls, empty Array is accepted for Dictionary parameter.
+
Special types (msgpack EXT) ~
Buffer -> enum value kObjectTypeBuffer