mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 17:46:29 +09:00
.editorconfig: Format .bash files like .sh
This commit is contained in:
parent
106ba63900
commit
9181756339
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ insert_final_newline = false
|
||||||
# see https://nixos.org/nixpkgs/manual/#chap-conventions
|
# see https://nixos.org/nixpkgs/manual/#chap-conventions
|
||||||
|
|
||||||
# Match json/lockfiles/markdown/nix/perl/python/ruby/shell/docbook files, set indent to spaces
|
# Match json/lockfiles/markdown/nix/perl/python/ruby/shell/docbook files, set indent to spaces
|
||||||
[*.{json,lock,md,nix,pl,pm,py,rb,sh,xml}]
|
[*.{bash,json,lock,md,nix,pl,pm,py,rb,sh,xml}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
# Match docbook files, set indent width of one
|
# Match docbook files, set indent width of one
|
||||||
|
@ -36,7 +36,7 @@ indent_size = 1
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
# Match perl/python/shell scripts, set indent width of four
|
# Match perl/python/shell scripts, set indent width of four
|
||||||
[*.{pl,pm,py,sh}]
|
[*.{bash,pl,pm,py,sh}]
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue