From 7aaac7a1025645409c9f03475bb7875e3688390c Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 26 May 2025 18:30:11 +0200 Subject: [PATCH] update editorconfig to be more expressive and inclusive --- .editorconfig | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.editorconfig b/.editorconfig index c8a1426..0526ac1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,19 +9,10 @@ indent_style = tab indent_size = tab tab_width = 4 -[*.{c,h,cpp,hpp}] -indent_style = tab -indent_size = tab -tab_width = 4 - -[{makefile,Makefile}] -indent_style = tab -indent_size = tab +[*.{sh,bash,md,json,css,scss}] tab_width = 2 -[.*/{sh,bash}] -indent_style = tab -indent_size = tab +[{makefile,Makefile}] tab_width = 2 [*.{py,rs}] @@ -29,7 +20,7 @@ indent_style = space indent_size = tab tab_width = 4 -[*.{yaml,json,toml}] +[*.{yaml,toml}] indent_style = space indent_size = tab tab_width = 2