.editorconfig: ignore diffs/patches
parent
1f689421e7
commit
190577d4e7
|
@ -11,6 +11,12 @@ insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
|
|
||||||
|
# Ignore diffs/patches
|
||||||
|
[*.{diff,patch}]
|
||||||
|
end_of_line = ignore
|
||||||
|
insert_final_newline = ignore
|
||||||
|
trim_trailing_whitespace = ignore
|
||||||
|
|
||||||
# see https://nixos.org/nixpkgs/manual/#chap-conventions
|
# see https://nixos.org/nixpkgs/manual/#chap-conventions
|
||||||
|
|
||||||
# Match nix/perl/python/ruby/shell/docbook files, set indent to spaces
|
# Match nix/perl/python/ruby/shell/docbook files, set indent to spaces
|
||||||
|
@ -28,7 +34,3 @@ indent_size = 2
|
||||||
# Match perl/python/shell scripts, set indent width of four
|
# Match perl/python/shell scripts, set indent width of four
|
||||||
[*.{pl,py,sh}]
|
[*.{pl,py,sh}]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
# Match diffs, avoid to trim trailing whitespace
|
|
||||||
[*.{diff,patch}]
|
|
||||||
trim_trailing_whitespace = false
|
|
||||||
|
|
Loading…
Reference in New Issue