-# git grep shouldn't match entries in this benchmark data
-bench_data/** binary
-crates/syntax/test_data/** -text eof=LF
-# Older git versions try to fix line endings on images, this prevents it.
+*.cpp rust
+*.h rust
+*.rs rust diff=rust
+*.fixed linguist-language=Rust
+*.mir linguist-language=Rust
+src/etc/installer/gfx/* binary
+src/vendor/** -text
+Cargo.lock linguist-generated=false
+config.toml.example linguist-language=TOML
+
+# Older git versions try to fix line endings on images and fonts, this prevents it.