From fe280c1a67e5c8edf6bb978ad70fc007a39d7922 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Fri, 7 Mar 2025 16:20:11 -0800 Subject: [PATCH] .editorconfig: unify free-standing bash with Nix-embedded bash We believe these two should look the same. Co-authored-by: Connor Baker --- .editorconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index ce32c88d7c90..77b1889a8da0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -35,8 +35,12 @@ indent_size = 1 [*.{json,lock,md,nix,rb}] indent_size = 2 -# Match perl/python/shell scripts, set indent width of four -[*.{bash,pl,pm,py,sh}] +# Match all the Bash code in Nix files, set indent width of two +[*.{bash,sh}] +indent_size = 2 + +# Match Perl and Python scripts, set indent width of four +[*.{pl,pm,py}] indent_size = 4 # Match gemfiles, set indent to spaces with width of two