Skip to content

Commit aea7163

Browse files
committed
indent.txt: Update Vim 8.2.4812
1 parent c585344 commit aea7163

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

en/indent.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*indent.txt* For Vim version 8.2. Last change: 2022 Jan 31
1+
*indent.txt* For Vim version 8.2. Last change: 2022 Apr 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -42,11 +42,12 @@ is not a C compiler: it does not recognize all syntax. One requirement is
4242
that toplevel functions have a '{' in the first column. Otherwise they are
4343
easily confused with declarations.
4444

45-
These four options control C program indenting:
45+
These five options control C program indenting:
4646
'cindent' Enables Vim to perform C program indenting automatically.
4747
'cinkeys' Specifies which keys trigger reindenting in insert mode.
4848
'cinoptions' Sets your preferred indent style.
4949
'cinwords' Defines keywords that start an extra indent in the next line.
50+
'cinscopedecls' Defines strings that are recognized as a C++ scope declaration.
5051

5152
If 'lisp' is not on and 'equalprg' is empty, the "=" operator indents using
5253
Vim's built-in algorithm rather than calling an external program.
@@ -293,8 +294,9 @@ The examples below assume a 'shiftwidth' of 4.
293294
<
294295
*cino-g*
295296
gN Place C++ scope declarations N characters from the indent of the
296-
block they are in. (default 'shiftwidth'). A scope declaration
297-
can be "public:", "protected:" or "private:".
297+
block they are in. (default 'shiftwidth'). By default, a scope
298+
declaration is "public:", "protected:" or "private:". This can
299+
be adjusted with the 'cinscopedecls' option.
298300

299301
cino= cino=g0 >
300302
{ {

0 commit comments

Comments
 (0)