Mercurial > vim
comparison src/proto/evalvars.pro @ 33339:441ceb1c45c1 v9.0.1933
patch 9.0.1933: Can change the type of a v: variable using if_lua
Commit: https://github.com/vim/vim/commit/edcba96c0088210927558b0e2583f3b689f457c4
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Sep 24 23:13:51 2023 +0200
patch 9.0.1933: Can change the type of a v: variable using if_lua
Problem: Can change the type of a v: variable using if_lua.
Solution: Add additional handling of v: variables like :let.
closes: #13161
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Sep 2023 23:30:03 +0200 |
parents | 824fc05d9571 |
children | d7b7fa7edb3b |
comparison
equal
deleted
inserted
replaced
33338:9e4fde36162a | 33339:441ceb1c45c1 |
---|---|
73 void init_var_dict(dict_T *dict, dictitem_T *dict_var, int scope); | 73 void init_var_dict(dict_T *dict, dictitem_T *dict_var, int scope); |
74 void unref_var_dict(dict_T *dict); | 74 void unref_var_dict(dict_T *dict); |
75 void vars_clear(hashtab_T *ht); | 75 void vars_clear(hashtab_T *ht); |
76 void vars_clear_ext(hashtab_T *ht, int free_val); | 76 void vars_clear_ext(hashtab_T *ht, int free_val); |
77 void delete_var(hashtab_T *ht, hashitem_T *hi); | 77 void delete_var(hashtab_T *ht, hashitem_T *hi); |
78 int before_set_vvar(char_u *varname, dictitem_T *di, typval_T *tv, int copy, int *type_error); | |
78 void set_var(char_u *name, typval_T *tv, int copy); | 79 void set_var(char_u *name, typval_T *tv, int copy); |
79 void set_var_const(char_u *name, scid_T sid, type_T *type_arg, typval_T *tv_arg, int copy, int flags_arg, int var_idx); | 80 void set_var_const(char_u *name, scid_T sid, type_T *type_arg, typval_T *tv_arg, int copy, int flags_arg, int var_idx); |
80 int var_check_permission(dictitem_T *di, char_u *name); | 81 int var_check_permission(dictitem_T *di, char_u *name); |
81 int var_check_ro(int flags, char_u *name, int use_gettext); | 82 int var_check_ro(int flags, char_u *name, int use_gettext); |
82 int var_check_lock(int flags, char_u *name, int use_gettext); | 83 int var_check_lock(int flags, char_u *name, int use_gettext); |