aboutsummaryrefslogtreecommitdiffhomepage
path: root/.clang-format
diff options
context:
space:
mode:
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