forked from aniani/vim
patch 8.2.3815: Vim9: cannot have a multi-line dict inside a block
Problem: Vim9: cannot have a multi-line dict inside a block. Solution: Do not split the command at a line break, handle NL characters as white space.
This commit is contained in:
@@ -2305,7 +2305,7 @@ do_one_cmd(
|
||||
// versions.
|
||||
if (*p == '\\' && p[1] == '\n')
|
||||
STRMOVE(p, p + 1);
|
||||
else if (*p == '\n')
|
||||
else if (*p == '\n' && (ea.argt & EX_TRLBAR))
|
||||
{
|
||||
ea.nextcmd = p + 1;
|
||||
*p = NUL;
|
||||
|
Reference in New Issue
Block a user