diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-03 21:22:41 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-03 21:22:41 +0100 |
commit | 2e2d758902dc08a0e383fe6b198e11dd14f1bdf8 (patch) | |
tree | 7c52c1766681de538f9b4640b346a531701d5fc2 /src/proto/evalvars.pro | |
parent | f76ec1eeb5bba9457bf2b5564364ee90662a0156 (diff) |
patch 8.2.2566: Vim9: Function name is not recognizedv8.2.2566
Problem: Vim9: Function name is not recognized.
Solution: Change lookup_scriptvar() to also find function names.
(closes #7770)
Diffstat (limited to 'src/proto/evalvars.pro')
-rw-r--r-- | src/proto/evalvars.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/evalvars.pro b/src/proto/evalvars.pro index cf4db0bf11..bd2c6879ff 100644 --- a/src/proto/evalvars.pro +++ b/src/proto/evalvars.pro @@ -61,7 +61,7 @@ void check_vars(char_u *name, int len); dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload); dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload); hashtab_T *get_script_local_ht(void); -int lookup_scriptvar(char_u *name, size_t len, cctx_T *dummy); +int lookup_scriptitem(char_u *name, size_t len, cctx_T *dummy); hashtab_T *find_var_ht(char_u *name, char_u **varname); char_u *get_var_value(char_u *name); void new_script_vars(scid_T id); |