Mercurial > minori
annotate .clang-format @ 229:adc20fa321c1
theme: force Fusion style on platforms other than Win32 or OS X
I was reluctant to do this, but most of the other styles just
look like pure shite regardless of whether I force a stylesheet
on them or not. KDE's style is actually hilariously bad paired
with my stylesheet, so I've decided to also make the stylesheet
Windows-specific as well, because that's really the only platform
where it makes sense in the first place.
| author | Paper <paper@paper.us.eu.org> | 
|---|---|
| date | Wed, 10 Jan 2024 21:23:57 -0500 | 
| parents | bc8d2ccff09c | 
| children | 862d0d8619f6 | 
| rev | line source | 
|---|---|
| 9 | 1 --- | 
| 2 BasedOnStyle: LLVM | |
| 15 | 3 UseTab: ForIndentation | 
| 4 PointerAlignment: Left | |
| 5 ColumnLimit: 120 | |
| 9 | 6 IndentWidth: 4 | 
| 7 TabWidth: 4 | |
| 15 | 8 AccessModifierOffset: 4 | 
| 9 | |
| 9 | 10 IndentCaseLabels: true | 
| 15 | 11 IndentAccessModifiers: true | 
| 12 IndentPPDirectives: AfterHash | |
| 13 | |
| 9 | 14 BreakBeforeBraces: Attach | 
| 15 BreakStringLiterals: true | |
| 15 | 16 | 
| 9 | 17 AlignAfterOpenBracket: Align | 
| 18 AlignArrayOfStructures: Left | |
| 15 | 19 AlignEscapedNewlines: DontAlign | 
| 36 | 20 AlignConsecutiveMacros: true | 
| 15 | 21 | 
| 22 AllowShortIfStatementsOnASingleLine: false | |
| 9 | 23 AllowShortBlocksOnASingleLine: Empty | 
| 24 AllowShortEnumsOnASingleLine: false | |
| 25 AllowShortFunctionsOnASingleLine: InlineOnly | |
| 26 AllowShortCaseLabelsOnASingleLine: true | |
| 27 | |
| 77 | 28 Cpp11BracedListStyle: true | 
| 29 | |
| 9 | 30 --- | 
| 31 Language: Cpp | |
| 
178
 
bc8d2ccff09c
win32/dark: use existing STL classes for dwmapi
 
Paper <mrpapersonic@gmail.com> 
parents: 
83 
diff
changeset
 | 
32 Standard: Cpp17 | 
