patch 8.2.2239: Vim9: concatenating lines with backslash is inconvenient
Problem: Vim9: concatenating lines with backslash is inconvenient.
Solution: Support concatenating lines starting with '|', useful for
:autocmd, :command, etc. (closes #6702)
diff --git a/src/vim9script.c b/src/vim9script.c
index a2f8ff9..269300c 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -103,6 +103,15 @@
return OK;
}
+/*
+ * Return TRUE if "p" points at a "#". Does not check for white space.
+ */
+ int
+vim9_comment_start(char_u *p)
+{
+ return p[0] == '#';
+}
+
#if defined(FEAT_EVAL) || defined(PROTO)
/*