Mercurial > vim
diff src/vim.h @ 7712:bce3b5ddb393 v7.4.1154
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 23 19:46:28 2016 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Jan 2016 20:00:04 +0100 |
parents | f04e2b6feea2 |
children | 6069f43cea4e |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -1896,7 +1896,17 @@ typedef int proftime_T; /* dummy for #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