diff options
author | ZyX <kp-pav@yandex.ru> | 2016-01-31 01:25:00 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2016-04-18 02:44:03 +0300 |
commit | d70a322c40e849f98ad573d2a37dc680c5616b26 (patch) | |
tree | abe3c021dd0d7e9ae0f0f7a6b23d4ec8f548f930 /src/nvim/eval.h | |
parent | 18903bd9b88ec960cb36b1ddd2b5062aad4bac2e (diff) | |
download | rneovim-d70a322c40e849f98ad573d2a37dc680c5616b26.tar.gz rneovim-d70a322c40e849f98ad573d2a37dc680c5616b26.tar.bz2 rneovim-d70a322c40e849f98ad573d2a37dc680c5616b26.zip |
eval: Add special variables v:false, v:null, v:none
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r-- | src/nvim/eval.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h index e8b5964775..89aa263434 100644 --- a/src/nvim/eval.h +++ b/src/nvim/eval.h @@ -15,12 +15,6 @@ // All user-defined functions are found in this hashtable. extern hashtab_T func_hashtab; -/// CopyID for recursively traversing lists and dicts -/// -/// This value is needed to avoid endless recursiveness. Last bit is used for -/// previous_funccal and normally ignored when comparing. -extern int current_copyID; - // Structure to hold info for a user function. typedef struct ufunc ufunc_T; @@ -127,7 +121,11 @@ enum { VV_ERRORS, VV_MSGPACK_TYPES, VV_EVENT, - VV_LEN, // number of v: vars + VV_FALSE, + VV_TRUE, + VV_NULL, + VV_NONE, + VV_LEN, ///< Number of v: variables }; /// All recognized msgpack types |