aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorThomasintAnker <thomasintanker1@gmail.com>2024-06-24 14:59:56 +0200
committerThomasintAnker <thomasintanker1@gmail.com>2024-06-24 14:59:56 +0200
commita0c664908b9112306c5858ccb106d1a0e5555df7 (patch)
tree8ca77d1210d1683a97f4da131c6ffac8123d4375 /.clang-format
parent381149dd7a1f4d5f48dd5ac07186c73371ff3c04 (diff)
parentec7f5e970ed03acb33eb5dc3b67f3d52af52e6dc (diff)
merge main into wip/mc
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format12
1 files changed, 9 insertions, 3 deletions
diff --git a/.clang-format b/.clang-format
index 3266955..064fa96 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,11 +1,10 @@
---
AccessModifierOffset: -4
-AlignConsecutiveAssignments: true
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: true
BasedOnStyle: LLVM
BreakBeforeBraces: Attach
-ColumnLimit: 180
+ColumnLimit: 80
EmptyLineBeforeAccessModifier: Always
IndentAccessModifiers: false
IndentCaseLabels: true
@@ -14,6 +13,13 @@ Language: Cpp
Standard: Cpp11
TabWidth: 4
UseTab: Always
+PointerAlignment: Middle
+SpaceAfterCStyleCast: true
+AlignConsecutiveAssignments:
+ Enabled: false
+AlignTrailingComments:
+ Kind: Leave
+ReflowComments: false
...
-# vim: ft=yaml \ No newline at end of file
+# vim: ft=yaml