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.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index c06a508..5f52401 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2305,7 +2305,7 @@
// 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;