aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-02-17 01:28:37 -0500
committerMichael Reed <m.reed@mykolab.com>2015-03-24 19:29:29 -0400
commitadfc8cf50a138a25bbe22f3c6e50ce7bd8c143e7 (patch)
tree9c8c297e14087032ac240b02065cd049cb4ac6e5 /src/nvim/eval.c
parentab68ac4c0221a3cfef13d86d0ebf9fc7bad710f7 (diff)
downloadrneovim-adfc8cf50a138a25bbe22f3c6e50ce7bd8c143e7.tar.gz
rneovim-adfc8cf50a138a25bbe22f3c6e50ce7bd8c143e7.tar.bz2
rneovim-adfc8cf50a138a25bbe22f3c6e50ce7bd8c143e7.zip
doc: Misc. cleanup
Add missing parentheses and whatnot, move dangling comment, etc. Some specific items worth mentioning: Fixed some references to non-existent tags, found via `make html` msgpack_rpc/channel.c: ELOG already prefixes each line with "error @ ..."
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 */