diff options
author | Jacob Janzen <jjanzenn@proton.me> | 2024-08-09 22:11:23 -0500 |
---|---|---|
committer | Jacob Janzen <jjanzenn@proton.me> | 2024-08-09 22:11:23 -0500 |
commit | e6e8ebe10aa40e5a3be2b94cdf3b324f3d3e52e0 (patch) | |
tree | aca3b279520b76d918ce603d47981f1d23dbd1af /common/clang-format.org | |
parent | 40f02bc8088ca93224bf65f083c4ab3b17eaf435 (diff) |
split-dotfiles
Diffstat (limited to 'common/clang-format.org')
-rw-r--r-- | common/clang-format.org | 9 |
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 |