minetest/.clang-format

29 lines
650 B
Plaintext
Raw Normal View History

BasedOnStyle: LLVM
IndentWidth: 8
UseTab: Always
2017-04-06 06:27:47 -07:00
BreakBeforeBraces: Custom
Standard: Cpp03
2017-04-06 06:27:47 -07:00
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
BeforeCatch: false
BeforeElse: false
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
AccessModifierOffset: -8
ColumnLimit: 90
AllowShortFunctionsOnASingleLine: Inline
SortIncludes: false
IncludeCategories:
- Regex: '^".*'
Priority: 2
- Regex: '^<.*'
Priority: 1
AlignAfterOpenBracket: DontAlign
ContinuationIndentWidth: 16