mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user