From e6e8ebe10aa40e5a3be2b94cdf3b324f3d3e52e0 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Fri, 9 Aug 2024 22:11:23 -0500 Subject: split-dotfiles --- common/clang-format.org | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 common/clang-format.org (limited to 'common/clang-format.org') 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 -- cgit v1.2.3