Module Name: src Committed By: rillig Date: Mon May 15 20:35:56 UTC 2023
Modified Files: src/usr.bin/indent: .indent.pro Log Message: indent: clean up local indentation profile The -eei option now works, the type hints are no longer necessary. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/indent/.indent.pro Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/indent/.indent.pro diff -u src/usr.bin/indent/.indent.pro:1.4 src/usr.bin/indent/.indent.pro:1.5 --- src/usr.bin/indent/.indent.pro:1.4 Mon May 15 09:22:53 2023 +++ src/usr.bin/indent/.indent.pro Mon May 15 20:35:56 2023 @@ -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. */