aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-22 17:40:40 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-22 17:40:40 +0200
commit9a24fe708770d717ecb8cbe45fe24922d21b5838 (patch)
treec4dea024e4fe45883e2198194db3c7465d3af4b7 /.clang-format
parent3c2f4422e4dd90826a549c87d9d042c592806cb8 (diff)
tweak clang format settings
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format10
1 files changed, 8 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index f180135..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