From fe3c8690f67ea37c933ae02bcafa74f4bd791ea4 Mon Sep 17 00:00:00 2001 From: ZyX Date: Thu, 6 Aug 2015 01:40:01 +0300 Subject: documentation: Fix special dictionary value key name --- runtime/doc/eval.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index d12871f4ab..86bca1fc6a 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4668,10 +4668,10 @@ msgpackparse({list}) {Nvim} *msgpackparse()* Some messagepack strings may be parsed to special dictionaries. Special dictionaries are dictionaries which - 1. Contain exactly two keys: `_TYPE` and `_VALUE`. + 1. Contain exactly two keys: `_TYPE` and `_VAL`. 2. `_TYPE` key is one of the types found in |v:msgpack_types| variable. - 3. Value for `_VALUE` has the following format (Key column + 3. Value for `_VAL` has the following format (Key column contains name of the key from |v:msgpack_types|): Key Value ~ @@ -4682,9 +4682,9 @@ msgpackparse({list}) {Nvim} *msgpackparse()* bits, number with bits from 62nd to 31st, lowest 31 bits. I.e. to get actual number one will need to use code like > - _VALUE[0] * ((_VALUE[1] << 62) - & (_VALUE[2] << 31) - & _VALUE[3]) + _VAL[0] * ((_VAL[1] << 62) + & (_VAL[2] << 31) + & _VAL[3]) < Special dictionary with this type will appear in |msgpackparse()| output under one of the following circumstances: -- cgit