summary refs log tree commit diff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJohannes Bornhold <johannes@bornhold.name>2017-01-12 23:44:26 +0100
committerJohannes Bornhold <johannes@bornhold.name>2017-01-12 23:44:26 +0100
commitda563e5773be82c56d8ad2855f49b299c21aa2d1 (patch)
tree65f08d67d29ce8141a56793d1073c97a43ae6c86 /.editorconfig
parent05bb3fe22e2cfa47a77fa44e278b78e6f21e988f (diff)
downloadnixpkgs-da563e5773be82c56d8ad2855f49b299c21aa2d1.tar
nixpkgs-da563e5773be82c56d8ad2855f49b299c21aa2d1.tar.gz
nixpkgs-da563e5773be82c56d8ad2855f49b299c21aa2d1.tar.bz2
nixpkgs-da563e5773be82c56d8ad2855f49b299c21aa2d1.tar.lz
nixpkgs-da563e5773be82c56d8ad2855f49b299c21aa2d1.tar.xz
nixpkgs-da563e5773be82c56d8ad2855f49b299c21aa2d1.tar.zst
nixpkgs-da563e5773be82c56d8ad2855f49b299c21aa2d1.zip
Do not trim trailing whitespace in patch files
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 969e613536b..7b40ff1ff56 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -22,3 +22,7 @@ indent_size = 2
 [*.{sh,py,pl}]
 indent_style = space
 indent_size = 4
+
+# Match diffs, avoid to trim trailing whitespace
+[*.{diff,patch}]
+trim_trailing_whitespace = false