aboutsummaryrefslogtreecommitdiff
path: root/ClangFormat
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-06-27 15:12:35 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-06-27 15:31:45 +0100
commit4e1f23a479ef8f23d73e0b7431ad6d49069ecedb (patch)
treedc03b6a9859b4e9f0073738a8dfb2bd84b19b76d /ClangFormat
parent85148fc6a17985509f649ce6e9d0389b89044b30 (diff)
downloaddotfiles-4e1f23a479ef8f23d73e0b7431ad6d49069ecedb.tar.gz
dotfiles-4e1f23a479ef8f23d73e0b7431ad6d49069ecedb.tar.bz2
dotfiles-4e1f23a479ef8f23d73e0b7431ad6d49069ecedb.zip
(ClangFormat)~Organise keys
Diffstat (limited to 'ClangFormat')
-rw-r--r--ClangFormat/.clang-format9
1 files changed, 5 insertions, 4 deletions
diff --git a/ClangFormat/.clang-format b/ClangFormat/.clang-format
index 9b7219c..20c4e46 100644
--- a/ClangFormat/.clang-format
+++ b/ClangFormat/.clang-format
@@ -1,17 +1,15 @@
# .clang-format -*- mode: yaml; lexical-binding: t; -*-
-BasedOnStyle: LLVM
-IndentWidth: 2
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveBitFields: true
AlignConsecutiveMacros: true
AlignEscapedNewlines: true
-AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortLambdasOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
-NamespaceIndentation: All
+BasedOnStyle: LLVM
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
@@ -27,3 +25,6 @@ BraceWrapping:
BeforeElse: true
SplitEmptyFunction: true
IndentBraces: false
+ColumnLimit: 80
+IndentWidth: 2
+NamespaceIndentation: All