Mercurial > vim
view src/proto/ex_cmds2.pro @ 21046:0ca7e04d39e3 v8.2.1074
patch 8.2.1074: Vim9: no line break allowed after some operators
Commit: https://github.com/vim/vim/commit/9215f01218b2ed2cfe49c1f43fcf342bd9ffdded
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 27 21:18:00 2020 +0200
patch 8.2.1074: Vim9: no line break allowed after some operators
Problem: Vim9: no line break allowed after some operators.
Solution: Skip a line break after the operator. Add
eval_may_get_next_line() to simplify checking for a line break.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Jun 2020 21:30:04 +0200 |
parents | a961efb326e5 |
children | b32b67a108f2 |
line wrap: on
line source
/* ex_cmds2.c */ int autowrite(buf_T *buf, int forceit); void autowrite_all(void); int check_changed(buf_T *buf, int flags); void browse_save_fname(buf_T *buf); void dialog_changed(buf_T *buf, int checkall); int can_abandon(buf_T *buf, int forceit); int check_changed_any(int hidden, int unload); int check_fname(void); int buf_write_all(buf_T *buf, int forceit); void ex_listdo(exarg_T *eap); void ex_compiler(exarg_T *eap); void init_pyxversion(void); void ex_pyxfile(exarg_T *eap); void ex_pyx(exarg_T *eap); void ex_pyxdo(exarg_T *eap); void ex_checktime(exarg_T *eap); char_u *get_mess_lang(void); void set_lang_var(void); void ex_language(exarg_T *eap); void free_locales(void); char_u *get_lang_arg(expand_T *xp, int idx); char_u *get_locales(expand_T *xp, int idx); /* vim: set ft=c : */