diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-26 17:58:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-26 17:58:53 +0200 |
commit | f1f0792e55e72cdc7c833b30f565a9b02f18bb1e (patch) | |
tree | 0c63bd3971cde94874394587ca3bede776f87abf /src/vim.h | |
parent | 9f28953f0c1e3d9fffd49af76503f54eaa279acb (diff) | |
download | vim-f1f0792e55e72cdc7c833b30f565a9b02f18bb1e.zip |
patch 7.4.2258
Problem: Two JSON messages are sent without a separator.
Solution: Separate messages with a NL. (closes #1001)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2440,6 +2440,7 @@ typedef enum /* Options for json_encode() and json_decode. */ #define JSON_JS 1 /* use JS instead of JSON */ #define JSON_NO_NONE 2 /* v:none item not allowed */ +#define JSON_NL 4 /* append a NL */ /* Used for flags of do_in_path() */ #define DIP_ALL 0x01 /* all matches, not just the first one */ |