# Let Git auto-detect text files
* text=auto
# LaTeX fixtures and corpus must use LF so formatter output (always LF) and
# losslessness/snapshot assertions match on every platform, including Windows.
tests/fixtures/**/*.tex eol=lf
tests/corpus/** eol=lf
# Snapshot files should always use LF
tests/**/snapshots/**/* eol=lf
tests/snapshots/**/* eol=lf
# Preserve line-ending fixtures as-is (CRLF/LF) once they exist.
tests/fixtures/**/crlf_*/* -text
tests/fixtures/**/lf_*/* -text
tests/fixtures/**/*_crlf_*/* -text
tests/fixtures/**/*_lf_*/* -text