diff options
author | Jacob Janzen <jjanzenn@proton.me> | 2024-08-07 14:58:48 -0500 |
---|---|---|
committer | Jacob Janzen <jjanzenn@proton.me> | 2024-08-07 14:58:48 -0500 |
commit | 341c3be75228dbd23fd05208d148acecf950d573 (patch) | |
tree | ecac1a33408f61c9816c56f97a2b617ab425c68e /clang-format.org |
initial commit
Diffstat (limited to 'clang-format.org')
-rw-r--r-- | clang-format.org | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang-format.org b/clang-format.org new file mode 100644 index 0000000..66ebc8a --- /dev/null +++ b/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 |