diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-23 19:46:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-23 19:46:28 +0100 |
commit | 520e1e41f35b063ede63b41738c82d6636e78c34 (patch) | |
tree | 4c6a94e4e8f3f2047b91886077d4ecb916b30401 /src/vim.h | |
parent | 6920c72d4d62c8dc5596e9f392e38204f561d7af (diff) | |
download | vim-520e1e41f35b063ede63b41738c82d6636e78c34.zip |
patch 7.4.1154
Problem: No support for JSON.
Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true,
v:null and v:none.
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1896,7 +1896,17 @@ typedef int proftime_T; /* dummy for function prototypes */ #define VV_OPTION_OLD 60 #define VV_OPTION_TYPE 61 #define VV_ERRORS 62 -#define VV_LEN 63 /* number of v: vars */ +#define VV_FALSE 63 +#define VV_TRUE 64 +#define VV_NULL 65 +#define VV_NONE 66 +#define VV_LEN 67 /* number of v: vars */ + +/* used for v_number in VAR_SPECIAL */ +#define VVAL_FALSE 0L +#define VVAL_TRUE 1L +#define VVAL_NONE 2L +#define VVAL_NULL 3L #ifdef FEAT_CLIPBOARD |