aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-03-24 19:53:31 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-03-24 19:53:31 -0400
commitc56c035576f56f86405c40f3708bff49c996f1f8 (patch)
treec01d8a2e201cf4b588016869079e84ccca140c5c /src/nvim/eval.c
parente16ff72e71172730f1d2e7c814f774c1174af36b (diff)
parentd85fabc24fbb12fef5f597fc56168cbb20daf214 (diff)
downloadrneovim-c56c035576f56f86405c40f3708bff49c996f1f8.tar.gz
rneovim-c56c035576f56f86405c40f3708bff49c996f1f8.tar.bz2
rneovim-c56c035576f56f86405c40f3708bff49c996f1f8.zip
Merge #2236 'docs cleanup'
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 9e4b110e8b..08ad33e60e 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -345,13 +345,6 @@ typedef enum {
VAR_FLAVOUR_VIMINFO /* all uppercase */
} var_flavour_T;
-/*
- * Array to hold the value of v: variables.
- * The value is in a dictitem, so that it can also be used in the v: scope.
- * The reason to use this table anyway is for very quick access to the
- * variables with the VV_ defines.
- */
-
/* values for vv_flags: */
#define VV_COMPAT 1 /* compatible, also used without "v:" */
#define VV_RO 2 /* read-only */
@@ -359,6 +352,10 @@ typedef enum {
#define VV_NAME(s, t) s, {{t, 0, {0}}, 0, {0}}, {0}
+// Array to hold the value of v: variables.
+// The value is in a dictitem, so that it can also be used in the v: scope.
+// The reason to use this table anyway is for very quick access to the
+// variables with the VV_ defines.
static struct vimvar {
char *vv_name; /* name of variable, without v: */
dictitem_T vv_di; /* value and name for key */