summaryrefslogtreecommitdiffstats
path: root/src/vim9script.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-03-03 21:22:41 +0100
committerBram Moolenaar <Bram@vim.org>2021-03-03 21:22:41 +0100
commit2e2d758902dc08a0e383fe6b198e11dd14f1bdf8 (patch)
tree7c52c1766681de538f9b4640b346a531701d5fc2 /src/vim9script.c
parentf76ec1eeb5bba9457bf2b5564364ee90662a0156 (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/vim9script.c')
-rw-r--r--src/vim9script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9script.c b/src/vim9script.c
index 68d7f5e195..5ce7c3bdb7 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -138,7 +138,7 @@ ex_export(exarg_T *eap)
}
eap->cmd = eap->arg;
- (void)find_ex_command(eap, NULL, lookup_scriptvar, NULL);
+ (void)find_ex_command(eap, NULL, lookup_scriptitem, NULL);
switch (eap->cmdidx)
{
case CMD_let: