From c34c6232589e7d951d447b201fbd97cc8003c826 Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Fri, 14 Nov 2025 14:03:55 -0600 Subject: [PATCH v1 1/1] Change default tab width to 8. --- .editorconfig | 2 +- .gitattributes | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index e20d15d4533..5f6493c31b7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,7 +7,7 @@ indent_size = tab trim_trailing_whitespace = true insert_final_newline = true indent_style = unset -tab_width = unset +tab_width = 8 [*.[chly]] trim_trailing_whitespace = true diff --git a/.gitattributes b/.gitattributes index 4e26bbfb145..58fd4444b58 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,6 @@ # IMPORTANT: After updating this file, also run src/tools/generate_editorconfig.py -* whitespace=space-before-tab,trailing-space +* whitespace=space-before-tab,trailing-space,tabwidth=8 *.[chly] whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4 *.cpp whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4 *.pl whitespace=space-before-tab,trailing-space,tabwidth=4 -- 2.39.5 (Apple Git-154)