about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-29 21:08:14 +0100
committerGitHub <noreply@github.com>2025-03-29 21:08:14 +0100
commited1f776e5cf110d7ac10c1a78417de488e73db93 (patch)
tree2d5e5a9800811a3455e89ef68d37dacfc83e087b
parent713c58e37d0af8003f2dc98247e4954caeb7e39c (diff)
parentdaeb449640b189069f76a13a4a208b1a6d6a32b6 (diff)
downloadrust-ed1f776e5cf110d7ac10c1a78417de488e73db93.tar.gz
rust-ed1f776e5cf110d7ac10c1a78417de488e73db93.zip
Rollup merge of #139106 - ShE3py:pp-highlighting, r=compiler-errors
Mark .pp files as Rust

Pretty-printing tests generate `.pp` files, but GitHub classify and highlight them as Pascal:
[https://github.com/search?q=repo:rust-lang/rust+path:*.pp&type=code](https://github.com/search?q=repo%3Arust-lang%2Frust+path%3A*.pp&type=code)

``@rustbot`` label +A-meta +A-testsuite
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index d29c15fe712..8700d5d6dcf 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -5,6 +5,7 @@
 *.h rust
 *.rs rust diff=rust
 *.fixed linguist-language=Rust
+*.pp linguist-language=Rust
 *.mir linguist-language=Rust
 src/etc/installer/gfx/* binary
 src/vendor/** -text