Mercurial > vim
diff src/proto/vim9compile.pro @ 23392:517fca70e084 v8.2.2239
patch 8.2.2239: Vim9: concatenating lines with backslash is inconvenient
Commit: https://github.com/vim/vim/commit/dcc58e031ded8b846a39146112b9b075cbb977d9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 28 20:53:21 2020 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Dec 2020 21:00:04 +0100 |
parents | 112fa621b127 |
children | 5c094273c015 |
line wrap: on
line diff
--- a/src/proto/vim9compile.pro +++ b/src/proto/vim9compile.pro @@ -5,7 +5,6 @@ int use_typecheck(type_T *actual, type_T int get_script_item_idx(int sid, char_u *name, int check_writable, cctx_T *cctx); imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); imported_T *find_imported_in_script(char_u *name, size_t len, int sid); -int vim9_comment_start(char_u *p); char_u *peek_next_line_from_context(cctx_T *cctx); char_u *next_line_from_context(cctx_T *cctx, int skip_comment); char_u *to_name_end(char_u *arg, int use_namespace); @@ -15,7 +14,7 @@ void error_white_both(char_u *op, int le int assignment_len(char_u *p, int *heredoc); void vim9_declare_error(char_u *name); int check_vim9_unlet(char_u *name); -int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx); +int compile_def_function(ufunc_T *ufunc, int check_return_type, cctx_T *outer_cctx); void set_function_type(ufunc_T *ufunc); void delete_instr(isn_T *isn); void unlink_def_function(ufunc_T *ufunc);