mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4171: cannot invoke option function using autoload import
Problem: Cannot invoke option function using autoload import. Solution: Expand the import to an autoload function name. (closes #9578)
This commit is contained in:
@@ -3262,7 +3262,7 @@ call_callback_retnr(
|
||||
typval_T rettv;
|
||||
varnumber_T retval;
|
||||
|
||||
if (call_callback(callback, 0, &rettv, argcount, argvars) == FAIL)
|
||||
if (call_callback(callback, -1, &rettv, argcount, argvars) == FAIL)
|
||||
return -2;
|
||||
|
||||
retval = tv_get_number_chk(&rettv, NULL);
|
||||
|
Reference in New Issue
Block a user