aboutsummaryrefslogtreecommitdiff
path: root/common/clang-format.org
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-08-10 12:01:43 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-08-10 12:01:43 -0500
commitf2f2c7c7e17d4f54d5ef8a58b78aff0fc5e1ab91 (patch)
tree16753a1673df86545228d3dbce76710f4f692866 /common/clang-format.org
parent1b18fbaa583e282ed59bc26876b6c78f0a28ac38 (diff)
Revert "fix-paths"
This reverts commit 1b18fbaa583e282ed59bc26876b6c78f0a28ac38.
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