summaryrefslogtreecommitdiffstats
path: root/src/proto/evalvars.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-03-14 13:21:35 +0100
committerBram Moolenaar <Bram@vim.org>2021-03-14 13:21:35 +0100
commit77b10ffad4ebad15022614be4db2745f6a90f405 (patch)
tree8319b6d1ba747e28f7ef57082978d9be464049c5 /src/proto/evalvars.pro
parent2e34c34be1393027a761ecbccd8f267d52ca7bc1 (diff)
patch 8.2.2603: Vim9: no effect if user command is also a functionv8.2.2603
Problem: Vim9: no effect if user command is also a function. Solution: Check for paren following. (closes #7960)
Diffstat (limited to 'src/proto/evalvars.pro')
-rw-r--r--src/proto/evalvars.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/evalvars.pro b/src/proto/evalvars.pro
index 1094d45630..c75f80a863 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_scriptitem(char_u *name, size_t len, cctx_T *dummy);
+int lookup_scriptitem(char_u *name, size_t len, int cmd, 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);