From f065e94980a01d830aed8103daad2b0f3d65af7d Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 20 Sep 2024 14:29:12 +0100 Subject: [PATCH] Microsoft style is closest to mine --- roles/home-cli/files/clang-format | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/home-cli/files/clang-format b/roles/home-cli/files/clang-format index 9c18255..c948a1f 100644 --- a/roles/home-cli/files/clang-format +++ b/roles/home-cli/files/clang-format @@ -1,9 +1,9 @@ --- Language: Cpp -BasedOnStyle: WebKit -# https://www.webkit.org/code-style-guidelines/ -#PointerAlignment: Right +BasedOnStyle: Microsoft +BreakBeforeBraces: Stroustrup +#PointerAlignment: Right // Uncomment for K&R C-style pointers. --- Language: CSharp BasedOnStyle: Microsoft -# https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions +BreakBeforeBraces: Allman