From 843d9223a14c599fda1b2abf1e7072be738fb831 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sun, 24 Apr 2022 05:48:38 +0200 Subject: [PATCH] build(clang-format): align with project style #18192 --- .clang-format | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.clang-format b/.clang-format index d5e328f461..5e31777265 100644 --- a/.clang-format +++ b/.clang-format @@ -38,3 +38,20 @@ BraceWrapping: PointerAlignment: Right SortIncludes: false Cpp11BracedListStyle: false +SpaceBeforeParens: ControlStatementsExceptControlMacros +ForEachMacros: + - FOR_ALL_AUEVENTS + - FOR_ALL_AUPATS_IN_EVENT + - FOR_ALL_BUFFERS + - FOR_ALL_BUFFERS_BACKWARDS + - FOR_ALL_FRAMES + - FOR_ALL_QFL_ITEMS + - FOR_ALL_SIGNS_IN_BUF + - FOR_ALL_TABS + - FOR_ALL_TAB_WINDOWS + - FOR_ALL_WINDOWS_IN_TAB + - RBUFFER_EACH + - RBUFFER_EACH_REVERSE + - RBUFFER_UNTIL_EMPTY + - RBUFFER_UNTIL_FULL + - kl_iter