diff src/structs.h @ 23398:40f824f5c7c7 v8.2.2242

patch 8.2.2242: Vim9: bar line continuation does not work at script level Commit: https://github.com/vim/vim/commit/8242ebbdba64cfa5c504c9d8dfb802076d99c602 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 29 11:15:01 2020 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Tue, 29 Dec 2020 11:15:34 +0100
parents 517fca70e084
children d2b1269c2c68
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -1565,8 +1565,8 @@ typedef void (*cfunc_free_T)(void *state
 // type of getline() last argument
 typedef enum {
     GETLINE_NONE,	    // do not concatenate any lines
-    GETLINE_CONCAT_CONT,    // concatenate continuation lines in Vim9 script
-    GETLINE_CONCAT_CONTDEF, // concatenate continuation lines always
+    GETLINE_CONCAT_CONT,    // concatenate continuation lines with backslash
+    GETLINE_CONCAT_CONTBAR, // concatenate continuation lines with \ and |
     GETLINE_CONCAT_ALL	    // concatenate continuation and Vim9 # comment lines
 } getline_opt_T;