Unverified Commit c0f9d9e3 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

.editorconfig: unify free-standing bash indent with Nix-embedded bash indent (#388089)

parents 0cb44692 fe280c1a
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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