mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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)
This commit is contained in:
@@ -311,7 +311,7 @@ ex_import(exarg_T *eap)
|
||||
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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user