]> Sergey Matveev's repositories - dotfiles.git/blobdiff - bin/bin/cfmt.sh
More C formatting
[dotfiles.git] / bin / bin / cfmt.sh
index 80496665657cc9043797d188d5aca15ca4c7f8b3..51585caeb1ddab87e394444b075afb6ad77ba13a 100755 (executable)
@@ -2,9 +2,12 @@
 
 clang-format60 -style="{
     BasedOnStyle: llvm,
+    ColumnLimit: 88,
     IndentWidth: 4,
     AllowAllParametersOfDeclarationOnNextLine: false,
+    AllowShortBlocksOnASingleLine: true,
+    AllowShortCaseLabelsOnASingleLine: true,
     BinPackArguments: false,
     BinPackParameters: false,
-    AllowAllParametersOfDeclarationOnNextLine: false,
+    BreakStringLiterals: false,
 }" $@