0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.2566: Vim9: Function name is not recognized

Problem:    Vim9: Function name is not recognized.
Solution:   Change lookup_scriptvar() to also find function names.
            (closes #7770)
This commit is contained in:
Bram Moolenaar
2021-03-03 21:22:41 +01:00
parent f76ec1eeb5
commit 2e2d758902
6 changed files with 43 additions and 6 deletions

View File

@@ -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: