Clang-format continuation indent fixes + .gitignore additions
[oweals/minetest.git] / .clang-format
1 BasedOnStyle: LLVM
2 IndentWidth: 8
3 UseTab: Always
4 BreakBeforeBraces: Custom
5 BraceWrapping:
6   AfterClass: true
7   AfterControlStatement: false
8   AfterEnum: true
9   AfterFunction: true
10   AfterNamespace: true
11   AfterStruct: true
12   AfterUnion: true
13   BeforeCatch: false
14   BeforeElse: false
15 AllowShortIfStatementsOnASingleLine: false
16 IndentCaseLabels: false
17 AccessModifierOffset: -8
18 ColumnLimit: 90
19 IncludeCategories:
20   - Regex:           '^".*'
21     Priority:        2
22   - Regex:           '^<.*'
23     Priority:        1
24 AlignAfterOpenBracket: DontAlign
25 ContinuationIndentWidth: 16