# Handle line endings automatically for files detected as text
# and leave binary files untouched.
* text=auto

# Python files
*.py      text eol=lf
*.pyi     text eol=lf
*.pyw     text eol=lf

# Web files
*.html    text eol=lf diff=html
*.css     text eol=lf
*.js      text eol=lf
*.ts      text eol=lf
*.tsx     text eol=lf
*.json    text eol=lf

# Documentation
*.md      text eol=lf
*.txt     text eol=lf

# Data/Config
*.yml     text eol=lf
*.yaml    text eol=lf
*.toml    text eol=lf
*.xml     text eol=lf

# Shell scripts
*.sh      text eol=lf

# Batch files
*.bat     text eol=crlf

# Binary files
*.png     binary
*.jpg     binary
*.jpeg    binary
*.gif     binary
*.ico     binary
*.mov     binary
*.mp4     binary
*.mp3     binary
*.flv     binary
*.fla     binary
*.swf     binary
*.gz      binary
*.zip     binary
*.7z      binary
*.ttf     binary
*.pyc     binary
*.pyo     binary
*.pyd     binary
*.so      binary
*.dll     binary
*.exe     binary

# >>> vaultspec-managed (do not edit this block) >>>
* text=auto eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
# <<< vaultspec-managed <<<
