summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index f1e99ee8ca..11c6766da9 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,6 @@
+# Properly detect languages on Github
+*.h linguist-language=cpp
+
*.cpp eol=lf
*.h eol=lf
*.py eol=lf