From 4ee4cc3ee619d9701c59ac2030bc6fcba6e68f5b Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sat, 21 Sep 2024 21:59:19 +0100 Subject: [PATCH] Emulate K&R --- roles/home-cli/files/clang-format | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/home-cli/files/clang-format b/roles/home-cli/files/clang-format index 7485e81..f205e99 100644 --- a/roles/home-cli/files/clang-format +++ b/roles/home-cli/files/clang-format @@ -2,7 +2,9 @@ Language: Cpp BasedOnStyle: LLVM -BreakBeforeBraces: Stroustrup +AccessModifierOffset: -4 +BreakBeforeBraces: WebKit +IndentWidth: 4 PointerAlignment: Left # Left for C++, Right for C. ---