Mercurial > vim
view src/proto/textobject.pro @ 26003:37852c2bf3d4 v8.2.3535
patch 8.2.3535: if-else indenting is confusing
Commit: https://github.com/vim/vim/commit/9b0b844d252ea84b3607f39603b4afa8cb002418
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon Oct 18 20:56:39 2021 +0100
patch 8.2.3535: if-else indenting is confusing
Problem: If-else indenting is confusing.
Solution: Add curly brackets and indent. (Dominique Pell?, closes https://github.com/vim/vim/issues/9010)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 18 Oct 2021 22:00:06 +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 : */