Use `jsonc` syntax highlighting for github
sylee957 opened this issue · comments
S.Y. Lee commented
Technically, I figured out the reason why we are getting 'red' for comments,
It is because the grammar of json
https://www.json.org/json-en.html does not allow any comments,
however, this is not an issue with most of the JSON parsers out there.
sympy_benchmarks/asv.conf.json
Lines 16 to 32 in eec7104
It is possible to fix this in .gitattributes
*.json linguist-language=jsonc