diff options
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 906659a1f3..16b368c555 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -365,7 +365,7 @@ static struct vimvar { } vimvars[VV_LEN] = { /* - * The order here must match the VV_ defines in vim.h! + * The order here must match the VV_ defines in eval.h! * Initializing a union does not work, leave tv.vval empty to get zero's. */ {VV_NAME("count", VAR_NUMBER), VV_COMPAT+VV_RO}, @@ -13356,7 +13356,7 @@ static void f_serverlist(typval_T *argvars, typval_T *rettv) static void f_serverstart(typval_T *argvars, typval_T *rettv) { rettv->v_type = VAR_STRING; - rettv->vval.v_string = NULL; // Will hold the address of the new server. + rettv->vval.v_string = NULL; // Address of the new server if (check_restricted() || check_secure()) { return; @@ -16294,7 +16294,7 @@ long get_vim_var_nr(int idx) /* * Get string v: variable value. Uses a static buffer, can only be used once. */ -char_u *get_vim_var_str(int idx) +char_u *get_vim_var_str(int idx) FUNC_ATTR_NONNULL_RET { return get_tv_string(&vimvars[idx].vv_tv); } |