# 确保所有文本文件使用 LF 行尾
* text=auto eol=lf

# 明确指定各种文件类型的行尾处理
*.rs text eol=lf
*.toml text eol=lf
*.md text eol=lf
*.tmpl text eol=lf
*.go text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.txt text eol=lf
*.json text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.html text eol=lf
*.css text eol=lf
*.sh text eol=lf
*.py text eol=lf

# 二进制文件不进行行尾转换
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.tar binary
*.gz binary
*.exe binary
*.dll binary
*.so binary
*.dylib binary
