浏览代码

properly detect .h as a C++ header file

Arvid Gerstmann 9 年之前
父节点
当前提交
18484eb6c7
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .gitattributes

+ 3 - 0
.gitattributes

@@ -1,3 +1,6 @@
+# Properly detect languages on Github
+*.h linguist-language=cpp
+
 *.cpp eol=lf
 *.cpp eol=lf
 *.h eol=lf
 *.h eol=lf
 *.py eol=lf
 *.py eol=lf