瀏覽代碼

Reclassify .toml files as .c files on GitHub

With the new test framework, GitHub really wants to mark littlefs as a
python project. telling it to reclassify our test .toml files as C code
(which they are 95% of anyways) remedies this.

An alternative would be to add syntax=c vim modelines to the test/bench
files, which would also render them with C syntax highlighting on
GitHub. Unfortunately the interspersed toml metadata mucks this up,
making the result not very useful.
Christopher Haster 2 年之前
父節點
當前提交
f2bc6a8e88
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .gitattributes

+ 4 - 0
.gitattributes

@@ -0,0 +1,4 @@
+# GitHub really wants to mark littlefs as a python project, telling it to
+# reclassify our test .toml files as C code (which they are 95% of anyways)
+# remedies this
+*.toml linguist-language=c