aboutsummaryrefslogtreecommitdiff
path: root/common/.clang-format.org
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-10-01 17:42:59 -0500
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-10-01 17:42:59 -0500
commit7b0ea5cbdaaa5b8392777ad207c74cb27411eab1 (patch)
tree37a3438116ec3c84663133c820808ad9e2acf021 /common/.clang-format.org
parent7a347653dfad8c6c33791f7e72a4ec40b8230ac3 (diff)
the big refactor
Diffstat (limited to 'common/.clang-format.org')
-rw-r--r--common/.clang-format.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/.clang-format.org b/common/.clang-format.org
new file mode 100644
index 0000000..6c38b3b
--- /dev/null
+++ b/common/.clang-format.org
@@ -0,0 +1,9 @@
+#+title: Clang-Format Settings
+Use a style similar to Linux kernel style (but with 4-wide indents and spaces over tabs).
+#+begin_src yaml :tangle ~/.clang-format
+BasedOnStyle: LLVM
+IndentWidth: 4
+BreakBeforeBraces: Linux
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false
+#+end_src