aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorGravatar Nick Brassel2023-11-22 15:21:42 +1100
committerGravatar Nick Brassel2023-11-22 15:22:43 +1100
commit92d62d05e83addbded680eeece3f25cb004b746b (patch)
treedc9562853ed87e9b0d7ef7123f4eaed4055f9947 /.clang-format
downloadmy-keymaps-92d62d05e83addbded680eeece3f25cb004b746b.tar.gz
my-keymaps-92d62d05e83addbded680eeece3f25cb004b746b.zip
Initial structure.
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format30
1 files changed, 30 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..ce145e2
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,30 @@
+---
+BasedOnStyle: Google
+AlignAfterOpenBracket: Align
+AlignConsecutiveAssignments: 'true'
+AlignConsecutiveDeclarations: 'true'
+AlignOperands: 'true'
+AllowAllParametersOfDeclarationOnNextLine: 'false'
+AllowShortCaseLabelsOnASingleLine: 'false'
+AllowShortFunctionsOnASingleLine: Empty
+AllowShortLoopsOnASingleLine: 'false'
+AlwaysBreakAfterDefinitionReturnType: None
+AlwaysBreakAfterReturnType: None
+AlwaysBreakBeforeMultilineStrings: 'false'
+BinPackArguments: 'true'
+BinPackParameters: 'true'
+ColumnLimit: '1000'
+IndentCaseLabels: 'true'
+IndentPPDirectives: AfterHash
+IndentWidth: '4'
+MaxEmptyLinesToKeep: '1'
+PointerAlignment: Right
+SortIncludes: 'false'
+SpaceBeforeAssignmentOperators: 'true'
+SpaceBeforeParens: ControlStatements
+SpaceInEmptyParentheses: 'false'
+SpacesBeforeTrailingComments: 1
+TabWidth: '4'
+UseTab: Never
+
+...