diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..2dcb0f075 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,19 @@ +# Auto detect text files and perform LF normalization +* text=auto eol=lf + +# Rust +*.rs text diff=rust +Cargo.lock text -diff + +# Config / docs +*.toml text +*.yml text +*.yaml text +*.md text diff=markdown +*.json text + +# Binary +*.png binary +*.jpg binary +*.ico binary +*.pdf binary