aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.h
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-02-03 19:35:49 +0300
committerZyX <kp-pav@yandex.ru>2016-04-18 02:45:49 +0300
commit3c3921955040967b8f5489316342d95d80c235bb (patch)
tree9f576ae357a40997c273c9677e951156fa99f61c /src/nvim/eval.h
parent85244e68e3c2bf2bb8a175665fe759ef426c8e2a (diff)
downloadrneovim-3c3921955040967b8f5489316342d95d80c235bb.tar.gz
rneovim-3c3921955040967b8f5489316342d95d80c235bb.tar.bz2
rneovim-3c3921955040967b8f5489316342d95d80c235bb.zip
eval: Get rid of VV_LEN constant
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r--src/nvim/eval.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h
index 89aa263434..40111abf8d 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -54,7 +54,7 @@ EXTERN ufunc_T dumuf;
#define HI2UF(hi) HIKEY2UF((hi)->hi_key)
/* Defines for Vim variables. These must match vimvars[] in eval.c! */
-enum {
+typedef enum {
VV_COUNT,
VV_COUNT1,
VV_PREVCOUNT,
@@ -125,8 +125,7 @@ enum {
VV_TRUE,
VV_NULL,
VV_NONE,
- VV_LEN, ///< Number of v: variables
-};
+} VimVarIndex;
/// All recognized msgpack types
typedef enum {