# Normalize line endings: store text as LF in the repo, check out native.
* text=auto

# Force LF for source and docs regardless of platform (silences CRLF warnings).
*.md       text eol=lf
*.h        text eol=lf
*.hpp      text eol=lf
*.c        text eol=lf
*.cpp      text eol=lf
*.cmake    text eol=lf
*.json     text eol=lf
*.proto    text eol=lf
*.toml     text eol=lf
*.sh       text eol=lf
*.swift    text eol=lf
*.cs       text eol=lf
CMakeLists.txt text eol=lf

# Windows scripts stay CRLF.
*.bat      text eol=crlf
*.ps1      text eol=crlf

# Binary assets.
*.png      binary
*.ico      binary
*.icns     binary
