Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/indent indent: clean up local indentation profile



details:   https://anonhg.NetBSD.org/src/rev/cc8dc7a88578
branches:  trunk
changeset: 375370:cc8dc7a88578
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon May 15 20:35:56 2023 +0000

description:
indent: clean up local indentation profile

The -eei option now works, the type hints are no longer necessary.

diffstat:

 usr.bin/indent/.indent.pro |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (22 lines):

diff -r 9d38b5006397 -r cc8dc7a88578 usr.bin/indent/.indent.pro
--- a/usr.bin/indent/.indent.pro        Mon May 15 20:30:20 2023 +0000
+++ b/usr.bin/indent/.indent.pro        Mon May 15 20:35:56 2023 +0000
@@ -1,16 +1,10 @@
-/* $NetBSD: .indent.pro,v 1.4 2023/05/15 09:22:53 rillig Exp $ */
+/* $NetBSD: .indent.pro,v 1.5 2023/05/15 20:35:56 rillig Exp $ */
 
 -l78           /* Keep 2 columns distance from the 80-column margin. */
 -di0           /* Do not indent variable names in global declarations. */
-/* XXX: -eei does not work; the expressions are indented only a single level. */
 -eei           /* Indent expressions in 'if' and 'while' once more. */
 -nfc1          /* Do not format CVS Id comments. */
 -i4            /* Indent by 4 spaces, for traditional reasons. */
 -ldi0          /* Do not indent variable names in local declarations. */
 -nlp           /* Do not indent function arguments. */
--ta            /* Identifiers ending in '_t' are considered type names. */
--TFILE         /* Additional types, for proper formatting of '*'. */
--Tlexer_symbol
--Tparen_level_props
--Tparser_symbol
--Tkeyword_kind
+-ta            /* For proper formatting of type casts. */



Home | Main Index | Thread Index | Old Index