summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-01 17:41:26 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-01 17:41:26 +1000
commit8b1f2be27be18459ba2c8f4d675b5bf36f7d2307 (patch)
tree1a46525d6d3b4f50c17d0dd7aa41930895bdb257 /.clang-format
parentplugin/fsm: only provide modelData role (diff)
downloadcaelestia-shell-8b1f2be27be18459ba2c8f4d675b5bf36f7d2307.tar.gz
caelestia-shell-8b1f2be27be18459ba2c8f4d675b5bf36f7d2307.tar.bz2
caelestia-shell-8b1f2be27be18459ba2c8f4d675b5bf36f7d2307.zip
internal: format cpp
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format22
1 files changed, 22 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..46e3014
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,22 @@
+---
+BasedOnStyle: LLVM
+IndentWidth: 4
+ColumnLimit: 120
+---
+Language: Cpp
+DerivePointerAlignment: false
+PointerAlignment: Left
+AccessModifierOffset: -4
+AlignAfterOpenBracket: DontAlign
+AllowShortEnumsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: Inline
+AllowShortLambdasOnASingleLine: None
+BinPackArguments: true
+BreakBeforeBraces: Attach
+BreakConstructorInitializers: BeforeComma
+Cpp11BracedListStyle: false
+EmptyLineAfterAccessModifier: Never
+EmptyLineBeforeAccessModifier: Always
+IndentAccessModifiers: false
+IndentCaseLabels: false
+...