diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-15 15:41:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-15 15:41:44 +0000 |
commit | ce7eada12ea16c830332042f0021a9564bbb25af (patch) | |
tree | fce1a25ce1feba54a4f3e5154f3bd2200d133c20 /src/eval.c | |
parent | cfabad9bcf45650dee1f1f41ec4047f82a12f323 (diff) |
patch 8.2.3815: Vim9: cannot have a multi-line dict inside a blockv8.2.3815
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.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index d9f44b2c80..bc5eaa4d63 100644 --- a/src/eval.c +++ b/src/eval.c @@ -2150,7 +2150,7 @@ eval_next_line(evalarg_T *evalarg) skipwhite_and_linebreak(char_u *arg, evalarg_T *evalarg) { int getnext; - char_u *p = skipwhite(arg); + char_u *p = skipwhite_and_nl(arg); if (evalarg == NULL) return skipwhite(arg); |