From 35d51f80df82b749ff6be946fe6d0bc3ca448b7a Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Thu, 25 Sep 2025 15:57:39 +0200 Subject: [PATCH] [Clang] Finish up config --- config/lint/{.clang-format => clang-format} | 7 ++++++- config/lint/{.indentconfig.yaml => indentconfig.yaml} | 0 scripts/setup-clang-format | 2 +- setup | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) rename config/lint/{.clang-format => clang-format} (89%) rename config/lint/{.indentconfig.yaml => indentconfig.yaml} (100%) diff --git a/config/lint/.clang-format b/config/lint/clang-format similarity index 89% rename from config/lint/.clang-format rename to config/lint/clang-format index 10e863b..33a97f0 100644 --- a/config/lint/.clang-format +++ b/config/lint/clang-format @@ -1,4 +1,9 @@ ---- +# ───────────────────────────────────────────────────────────────────── +# ╭─────────────────────────────────────────────────╮ +# │ clang-format config │ +# ╰─────────────────────────────────────────────────╯ +# ───────────────────────────────────────────────────────────────────── +---- BasedOnStyle: LLVM AccessModifierOffset: -2 AlignAfterOpenBracket: Align diff --git a/config/lint/.indentconfig.yaml b/config/lint/indentconfig.yaml similarity index 100% rename from config/lint/.indentconfig.yaml rename to config/lint/indentconfig.yaml diff --git a/scripts/setup-clang-format b/scripts/setup-clang-format index 7440f08..40739e6 100755 --- a/scripts/setup-clang-format +++ b/scripts/setup-clang-format @@ -3,4 +3,4 @@ SCRIPT_DIR=$(dirname "$0") -cp "$SCRIPT_DIR/../config/lint/.clang-format" . +cp "$SCRIPT_DIR/../config/lint/clang-format" ./.clang-format diff --git a/setup b/setup index e5f1fc2..a2a773a 100755 --- a/setup +++ b/setup @@ -78,7 +78,7 @@ cp -r ./config/Thunar ~/.config/ cp -r ./config/wlogout/ ~/.config/ cp -r ./config/yazi ~/.config/ cp -r ./config/zathura ~/.config/ -cp ./config/lint/.indentconfig.yaml ~ +cp ./config/lint/.indentconfig.yaml ~/.indentconfig.yaml echo " => Installing yazi plugins