mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4030: a script local funcref is not found from a mapping
Problem: A script local funcref is not found from a mapping. Solution: When looking for a function, also find a script-local funcref. (closes #9485)
This commit is contained in:
@@ -1589,7 +1589,7 @@ deref_func_name(
|
||||
cc = name[*lenp];
|
||||
name[*lenp] = NUL;
|
||||
|
||||
v = find_var(name, &ht, no_autoload);
|
||||
v = find_var_also_in_script(name, &ht, no_autoload);
|
||||
name[*lenp] = cc;
|
||||
if (v != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user