Add .clang-format

This commit is contained in:
PikalaxALT 2020-06-27 10:29:40 -04:00
parent 9ac9b8cefc
commit 9c50f9db3d

25
.clang-format Normal file
View File

@ -0,0 +1,25 @@
BasedOnStyle: LLVM
AllowShortFunctionsOnASingleLine: None
BreakBeforeBraces: Allman
ColumnLimit: 100
UseTab: Never
IndentWidth: 4
TabWidth: 4
AlignAfterOpenBracket: DontAlign
Cpp11BracedListStyle: false
BreakStringLiterals: false
IndentCaseLabels: false
BinPackArguments: false
BinPackParameters: false
AlignTrailingComments: false
IncludeCategories:
- Regex: '^"nitro/types\.h"$'
Priority: -4
- Regex: '^"global\.h"$'
Priority: -3
- Regex: '^"nitro/nitro\.h"$'
Priority: -2
- Regex: '^"nitro/'
Priority: -1
- Regex: '.\*'
Priority: 1