patch 8.2.3297: cannot use all commands inside a {} block
Problem: Cannot use all commands inside a {} block after :command and
:autocmd.
Solution: Do consider \n to separate commands. (closes #8620)
diff --git a/src/vim9script.c b/src/vim9script.c
index 40f857f..68919e8 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -311,7 +311,7 @@
cmd_end = handle_import(eap->arg, NULL, current_sctx.sc_sid,
&evalarg, NULL);
if (cmd_end != NULL)
- eap->nextcmd = check_nextcmd(cmd_end);
+ set_nextcmd(eap, cmd_end);
clear_evalarg(&evalarg, eap);
}