mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
.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:
parent
2e43bc0823
commit
fe280c1a67
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue