mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4057: Vim9: not fully implementing the autoload mechanism
Problem: Vim9: not fully implementing the autoload mechanism. Solution: Allow for exporting a legacy function. Improve test coverage.
This commit is contained in:
@@ -260,11 +260,11 @@ ex_export(exarg_T *eap)
|
||||
(void)find_ex_command(eap, NULL, lookup_scriptitem, NULL);
|
||||
switch (eap->cmdidx)
|
||||
{
|
||||
case CMD_let:
|
||||
case CMD_var:
|
||||
case CMD_final:
|
||||
case CMD_const:
|
||||
case CMD_def:
|
||||
case CMD_function:
|
||||
// case CMD_class:
|
||||
is_export = TRUE;
|
||||
do_cmdline(eap->cmd, eap->getline, eap->cookie,
|
||||
|
Reference in New Issue
Block a user