From 117a1aad2d8194b8632bb46483573bb0b7aa50f1 Mon Sep 17 00:00:00 2001 From: Karoy Lorentey Date: Thu, 15 May 2025 14:15:30 -0700 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20set=20a=20global=20tab=20width;?= =?UTF-8?q?=20indent=5Fwidth=20is=20a=20fine=20default=20for=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Still override it to 4 in actual code with indent_size 2, in case we have stray tabs in there somewhere. --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 189c879a..9e89868f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,11 +4,11 @@ root = true charset = utf-8 insert_final_newline = true end_of_line = lf -tab_width = 4 trim_trailing_whitespace = true [*.{swift,swift.gyb,cpp,h,yml}] indent_style = space +tab_width = 4 indent_size = 2 [*.{sh,py}]