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