aboutsummaryrefslogtreecommitdiffhomepage
path: root/.clang-format
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com> 2021-02-05 23:46:41 +0100
committerMango0x45 <thomasvoss@live.com> 2021-02-05 23:46:41 +0100
commit63c3046ca88bb609b6c50687a8fb93d2280ba231 (patch)
tree2df9dc2822916c9e61ccdf9d7337a6d7d03380f4 /.clang-format
parentd547a7cc8129eb5fea32bf7fb6a64564d5cc4c6c (diff)
80 chars per line max pls
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format8
1 files changed, 6 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index 2aceea2..bda6336 100644
--- a/.clang-format
+++ b/.clang-format
@@ -31,7 +31,7 @@ BraceWrapping:
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: true
-ColumnLimit: 100
+ColumnLimit: 80
ContinuationIndentWidth: 8
DeriveLineEnding: true
IndentCaseBlocks: false
@@ -57,4 +57,8 @@ SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 8
UseCRLF: false
-UseTab: Always \ No newline at end of file
+UseTab: Always
+
+# Taken from git's rules (Except PenaltyBreakAssignment)
+PenaltyBreakAssignment: 100
+PenaltyExcessCharacter: 100 \ No newline at end of file