From 2febe51012cbfa8a996a26f84be41fa7c6bd8cab Mon Sep 17 00:00:00 2001 From: Robert Stoll Date: Tue, 10 Sep 2024 21:44:24 +0200 Subject: [PATCH] remembered why we used indent_size=2 for yaml files, re-introduced it --- .editorconfig | 5 +++++ src/dotfiles/.editorconfig | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.editorconfig b/.editorconfig index 91b4094..37fc155 100644 --- a/.editorconfig +++ b/.editorconfig @@ -26,5 +26,10 @@ trim_trailing_whitespace = true insert_final_newline = false trim_trailing_whitespace = false +[*.{yml,yaml}] +# tab is illegal as indentation character in yml files, hence we are opinionated here and use 2 spaces +indent_style = space +indent_size = 2 + [*.bat] end_of_line = crlf \ No newline at end of file diff --git a/src/dotfiles/.editorconfig b/src/dotfiles/.editorconfig index f8e14d7..aff6874 100644 --- a/src/dotfiles/.editorconfig +++ b/src/dotfiles/.editorconfig @@ -23,5 +23,10 @@ trim_trailing_whitespace = true insert_final_newline = false trim_trailing_whitespace = false +[*.{yml,yaml}] +# tab is illegal as indentation character in yml files, hence we are opinionated here and use 2 spaces +indent_style = space +indent_size = 2 + [*.bat] end_of_line = crlf \ No newline at end of file