From 42c4420f880599e49bc7b0de39663179c674fbb0 Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Fri, 29 Mar 2024 23:05:11 +0100 Subject: [PATCH] Make editorconfig more compact --- .editorconfig | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/.editorconfig b/.editorconfig index ce2a2aa4c8..66c9d4a9e1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,15 +11,7 @@ insert_final_newline = true trim_trailing_whitespace = true # The settings are the same in .clang-format. Keep them in sync. -[*.{c,cpp,h}] -indent_style = tab -indent_size = 4 - -[*.{nsi,rc}] -indent_style = tab -indent_size = 4 - -[*.pkg] +[*.{c,cpp,h,nsi,rc,pkg}] indent_style = tab indent_size = 4 @@ -27,22 +19,10 @@ indent_size = 4 indent_style = tab indent_size = 4 -[*.glsl] +[*.{glsl,py,sh}] indent_style = space indent_size = 4 -[*.py] -indent_style = space -indent_size = 4 - -[*.lua*] -indent_style = space -indent_size = 2 - -[*.{yml,yaml}] +[*.{lua*,yml,yaml}] indent_style = space indent_size = 2 - -[*.sh] -indent_style = space -indent_size = 4