summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-28 20:53:21 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-28 20:53:21 +0100
commitdcc58e031ded8b846a39146112b9b075cbb977d9 (patch)
tree7c72a702e15709f6216ff3bc711ed23045af2804 /src/structs.h
parent9b8d62267f583d5dc042920adb1de046959ad11d (diff)
downloadvim-git-dcc58e031ded8b846a39146112b9b075cbb977d9.tar.gz
patch 8.2.2239: Vim9: concatenating lines with backslash is inconvenientv8.2.2239
Problem: Vim9: concatenating lines with backslash is inconvenient. Solution: Support concatenating lines starting with '|', useful for :autocmd, :command, etc. (closes #6702)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h
index a6cd34631..ba42e331b 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1565,7 +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
+ GETLINE_CONCAT_CONT, // concatenate continuation lines in Vim9 script
+ GETLINE_CONCAT_CONTDEF, // concatenate continuation lines always
GETLINE_CONCAT_ALL // concatenate continuation and Vim9 # comment lines
} getline_opt_T;