Mercurial > minori
annotate dep/animia/.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 | 8a482049b968 |
children |
rev | line source |
---|---|
64 | 1 --- |
2 BasedOnStyle: LLVM | |
3 UseTab: ForIndentation | |
4 PointerAlignment: Left | |
5 ColumnLimit: 120 | |
6 IndentWidth: 4 | |
7 TabWidth: 4 | |
8 | |
9 IndentCaseLabels: true | |
10 IndentPPDirectives: AfterHash | |
11 | |
12 BreakBeforeBraces: Attach | |
13 BreakStringLiterals: true | |
14 | |
15 AlignAfterOpenBracket: Align | |
16 AlignArrayOfStructures: Left | |
17 AlignEscapedNewlines: DontAlign | |
18 AlignConsecutiveMacros: true | |
19 | |
20 AllowShortIfStatementsOnASingleLine: false | |
21 AllowShortBlocksOnASingleLine: Empty | |
22 AllowShortEnumsOnASingleLine: false | |
23 AllowShortFunctionsOnASingleLine: InlineOnly | |
24 AllowShortCaseLabelsOnASingleLine: true | |
25 | |
26 --- | |
27 Language: Cpp | |
28 Standard: Cpp11 |