summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-23 19:46:28 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-23 19:46:28 +0100
commit520e1e41f35b063ede63b41738c82d6636e78c34 (patch)
tree4c6a94e4e8f3f2047b91886077d4ecb916b30401 /src/vim.h
parent6920c72d4d62c8dc5596e9f392e38204f561d7af (diff)
downloadvim-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.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/vim.h b/src/vim.h
index 2ebaa0080..90a5353c3 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -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