comparison 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
comparison
equal deleted inserted replaced
23397:0a99720fc406 23398:40f824f5c7c7
1563 typedef void (*cfunc_free_T)(void *state); 1563 typedef void (*cfunc_free_T)(void *state);
1564 1564
1565 // type of getline() last argument 1565 // type of getline() last argument
1566 typedef enum { 1566 typedef enum {
1567 GETLINE_NONE, // do not concatenate any lines 1567 GETLINE_NONE, // do not concatenate any lines
1568 GETLINE_CONCAT_CONT, // concatenate continuation lines in Vim9 script 1568 GETLINE_CONCAT_CONT, // concatenate continuation lines with backslash
1569 GETLINE_CONCAT_CONTDEF, // concatenate continuation lines always 1569 GETLINE_CONCAT_CONTBAR, // concatenate continuation lines with \ and |
1570 GETLINE_CONCAT_ALL // concatenate continuation and Vim9 # comment lines 1570 GETLINE_CONCAT_ALL // concatenate continuation and Vim9 # comment lines
1571 } getline_opt_T; 1571 } getline_opt_T;
1572 1572
1573 typedef struct svar_S svar_T; 1573 typedef struct svar_S svar_T;
1574 1574