#include <msgpack.h>
#include <stddef.h>
#include "nvim/eval.h"
#include "nvim/garray.h"
#include "nvim/vim.h"
Go to the source code of this file.
◆ SURROGATE_FIRST_CHAR
#define SURROGATE_FIRST_CHAR 0x10000 |
First character that needs to be encoded as surrogate pair.
◆ SURROGATE_HI_END
#define SURROGATE_HI_END 0xDBFF |
Last codepoint in high surrogates block.
◆ SURROGATE_HI_START
#define SURROGATE_HI_START 0xD800 |
First codepoint in high surrogates block.
◆ SURROGATE_LO_END
#define SURROGATE_LO_END 0xDFFF |
Last codepoint in low surrogates block.
◆ SURROGATE_LO_START
#define SURROGATE_LO_START 0xDC00 |
First codepoint in low surrogates block.
◆ encode_vim_to_echo()
int encode_vim_to_echo |
( |
garray_T *const |
packer, |
|
|
typval_T *const |
tv, |
|
|
const char *const |
objname |
|
) |
| |
Convert VimL value to :echo output
- Parameters
-
[out] | packer | Packer to save results in. |
[in] | tv | Dumped value. |
[in] | objname | Object name, used for error message. |
- Returns
- OK in case of success, FAIL otherwise.
◆ encode_vim_to_msgpack()
int encode_vim_to_msgpack |
( |
msgpack_packer *const |
packer, |
|
|
typval_T *const |
tv, |
|
|
const char *const |
objname |
|
) |
| |
Convert VimL value to msgpack string
- Parameters
-
[out] | packer | Packer to save results in. |
[in] | tv | Dumped value. |
[in] | objname | Object name, used for error message. |
- Returns
- OK in case of success, FAIL otherwise.
◆ encode_bool_var_names
const char* const encode_bool_var_names[] |
Array mapping values from SpecialVarValue enum to names.
◆ encode_special_var_names
const char* const encode_special_var_names[] |