patch 8.2.2242: Vim9: bar line continuation does not work at script level
Problem: Vim9: line continuation with bar does not work at script level.
Solution: Check for Vim9 script.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 91d56d7..dc9ea16 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -889,7 +889,8 @@
#else
0
#endif
- , TRUE)) == NULL)
+ , in_vim9script() ? GETLINE_CONCAT_CONTBAR
+ : GETLINE_CONCAT_CONT)) == NULL)
{
// Don't call wait_return for aborted command line. The NULL
// returned for the end of a sourced file or executed function