Mercurial > vim
view src/proto/textobject.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 | 6ca6a372fef6 |
children | f103da6ba95f |
line wrap: on
line source
/* textobject.c */ int findsent(int dir, long count); int findpar(int *pincl, int dir, long count, int what, int both); int startPS(linenr_T lnum, int para, int both); int fwd_word(long count, int bigword, int eol); int bck_word(long count, int bigword, int stop); int end_word(long count, int bigword, int stop, int empty); int bckend_word(long count, int bigword, int eol); int current_word(oparg_T *oap, long count, int include, int bigword); int current_sent(oparg_T *oap, long count, int include); int current_block(oparg_T *oap, long count, int include, int what, int other); int current_tagblock(oparg_T *oap, long count_arg, int include); int current_par(oparg_T *oap, long count, int include, int type); int current_quote(oparg_T *oap, long count, int include, int quotechar); /* vim: set ft=c : */