summaryrefslogtreecommitdiffhomepage
path: root/.gitattributes
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-06-27 09:31:20 +0200
committerLinus Färnstrand <linus@mullvad.net>2018-06-27 13:53:26 +0200
commit9bb91af8594885ec0090c8fa9aac4fa19aa20510 (patch)
tree75e07a12e89bbf818fe48bd63a14ec8a43aed4cc /.gitattributes
parentfce918ebab9d686946af4d46bc00536eb3dd2f4d (diff)
downloadmullvadvpn-9bb91af8594885ec0090c8fa9aac4fa19aa20510.tar.xz
mullvadvpn-9bb91af8594885ec0090c8fa9aac4fa19aa20510.zip
Add editorconfig configuration
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 64584601b1..c63c583436 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,5 +1,8 @@
# Set the default behavior
* text=auto
-# Do not break script files on Windows (Cygwin gets upset with CRLF)
+# Do not break script files on Windows, Bash expects LF
*.sh text eol=lf
+
+# Use LF for Rust because rustfmt works best like that
+*.rs text eol=lf