# Ensure all text files use LF line endings for Linux compatibility
* text=auto eol=lf

# Explicitly set shell scripts to LF
*.sh text eol=lf

# Source code files
*.rs text eol=lf
*.toml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.md text eol=lf
*.json text eol=lf

# Ensure binary files are not modified
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary

# GitHub Linguist overrides to ensure 100% Rust language detection
# Mark documentation files
*.md linguist-documentation
docs/** linguist-documentation

# Mark configuration and data files as vendored
*.json linguist-vendored
*.toml linguist-vendored
*.yml linguist-vendored
*.yaml linguist-vendored
*.sh linguist-vendored

# Mark resource files as vendored
res/** linguist-vendored

# Mark generated files
res/about_cache.toml linguist-generated

# Mark TUI E2E workflow files as vendored (test data)
examples/tui_e2e_new/workflow/** linguist-vendored

# Mark CI/CD and tooling files as vendored
.github/** linguist-vendored
.cargo/** linguist-vendored
scripts/** linguist-vendored
