Mercurial > minori
diff .clang-format @ 413:192da585a0a8 default tip
*: fix formatting
the clang-format file was broken andjust using LLVM defaults.
now it's fixed and is more in line with what I actually prefer my
code to look like -- esp. with regards to tabulators
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sat, 25 Jul 2026 14:54:32 -0400 |
| parents | 963047512d34 |
| children |
line wrap: on
line diff
--- a/.clang-format Sat Jul 25 14:33:03 2026 -0400 +++ b/.clang-format Sat Jul 25 14:54:32 2026 -0400 @@ -1,6 +1,8 @@ --- +Language: Cpp +Standard: c++17 BasedOnStyle: LLVM -UseTab: ForIndentation +UseTab: ForContinuationAndIndentation PointerAlignment: Right ColumnLimit: 120 IndentWidth: 4 @@ -21,7 +23,9 @@ SpaceAfterTemplateKeyword: false -AlignAfterOpenBracket: Align +AlignAfterOpenBracket: false +ContinuationIndentWidth: 4 + AlignArrayOfStructures: Left AlignEscapedNewlines: DontAlign AlignConsecutiveMacros: true @@ -33,7 +37,3 @@ AllowShortCaseLabelsOnASingleLine: false Cpp11BracedListStyle: true - ---- -Language: Cpp -Standard: c++17
