From 68b46c4db87a3d5b92c927c3341ff59135ed58b4 Mon Sep 17 00:00:00 2001 From: fanyx Date: Tue, 26 Mar 2024 17:12:56 +0100 Subject: [PATCH] Add yaml and py to editorconfig --- .editorconfig | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 25b51b6..10df645 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,8 +3,19 @@ root = true [*] # charset = utf-8 end_of_line = lf -indent_style = space -indent_size = 4 +indent_style = tab trim_trailing_whitespace = true insert_final_newline = true +[*.md] +indent_size = 4 +indent_style = space + +[*.{yml,yaml}] +indent_size = 2 +indent_style = space + +[*.py] +indent_style = space +indent_size = 4 +