From d5053d015a957b343ad9c9e45e0abd2978f10cf0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 28 Jun 2020 15:51:16 +0200 Subject: patch 8.2.1079: Vim9: no line break allowed in a while loop Problem: Vim9: no line break allowed in a while loop. Solution: Update stored loop lines when finding line breaks. --- src/globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/globals.h') diff --git a/src/globals.h b/src/globals.h index 81903818b..19c6837ce 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1885,7 +1885,7 @@ EXTERN listitem_T range_list_item; // Passed to an eval() function to enable evaluation. EXTERN evalarg_T EVALARG_EVALUATE # ifdef DO_INIT - = {EVAL_EVALUATE, NULL, {0, 0, 0, 0, NULL}, NULL} + = {EVAL_EVALUATE, NULL, NULL, {0, 0, 0, 0, NULL}, NULL} # endif ; #endif -- cgit v1.2.1