summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-09-14 10:08:41 -0500
committerGitHub <noreply@github.com>2020-09-14 10:08:41 -0500
commit3f5097baec71b4c6b287534cc938a16b1f9fc474 (patch)
tree1d4c75e1f499ff87f062b8e804495b742bb1218a
parent8c9266b92078c6cd5cb8eb1ea4d8108d3b747c32 (diff)
parent34719a111253e36f463aa4629eb75716e1c5c13c (diff)
downloadnumpy-3f5097baec71b4c6b287534cc938a16b1f9fc474.tar.gz
Merge pull request #17312 from eric-wieser/_c.src-highlight
MAINT: Syntax-highlight .src files on github
-rw-r--r--.gitattributes5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index dad6dde37..81b8037d4 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -3,3 +3,8 @@ numpy/lib/tests/data/*.npy binary
# Release notes, reduce number of conflicts.
doc/release/*.rst merge=union
+
+# Highlight our custom templating language as C, since it's hopefully better
+# than nothing. This also affects repo statistics.
+*.c.src linguist-language=C
+*.h.src linguist-language=C