summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-06-27 10:29:40 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-06-27 10:29:40 -0400
commit9c50f9db3d5b032cb2af482a69bd4a30174d4cfc (patch)
treea9e7efb6e6241a617eaca3e3f0ca3ce42768a3c3
parent9ac9b8cefc392958f57c0d2aceb308e3f15dfbec (diff)
Add .clang-format
-rw-r--r--.clang-format25
1 files changed, 25 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 00000000..e78d3daf
--- /dev/null
+++ b/.clang-format
@@ -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