aboutsummaryrefslogtreecommitdiff
path: root/gentoo/clang-format.org
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-08-09 20:48:10 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-08-09 20:48:10 -0500
commit40f02bc8088ca93224bf65f083c4ab3b17eaf435 (patch)
treef5c4d0bd619a4f7547f318a86ecfdd05e88ca814 /gentoo/clang-format.org
parentd97f4feb2c17835d31a4dff5f1109d50c4111943 (diff)
move gentoo into subdirectory
Diffstat (limited to 'gentoo/clang-format.org')
-rw-r--r--gentoo/clang-format.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/gentoo/clang-format.org b/gentoo/clang-format.org
new file mode 100644
index 0000000..6c38b3b
--- /dev/null
+++ b/gentoo/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