.editorconfig: unify free-standing bash with Nix-embedded bash

We believe these two should look the same.

Co-authored-by: Connor Baker <connorbaker01@gmail.com>
This commit is contained in:
Philip Taron 2025-03-07 16:20:11 -08:00
parent 2e43bc0823
commit fe280c1a67

View file

@ -35,8 +35,12 @@ indent_size = 1
[*.{json,lock,md,nix,rb}] [*.{json,lock,md,nix,rb}]
indent_size = 2 indent_size = 2
# Match perl/python/shell scripts, set indent width of four # Match all the Bash code in Nix files, set indent width of two
[*.{bash,pl,pm,py,sh}] [*.{bash,sh}]
indent_size = 2
# Match Perl and Python scripts, set indent width of four
[*.{pl,pm,py}]
indent_size = 4 indent_size = 4
# Match gemfiles, set indent to spaces with width of two # Match gemfiles, set indent to spaces with width of two