Description
A file called .gitattributes in the root of a project tells Github how to color-code / syntax highlight unknown files.
*.myext linguist-language=JavaScript
Would tell Github to display all *myext files like it would display Javascript files - e.g. const abc would make the word const reddish and abc blueish.
However this only applies when looking at a file in the code file viewer. When reviewing such a file in a PR in the code-review panel it uses the plain, non-color coded text only mode.
I would like that it applies the same color coding in a code review as it does in the file view 🙏🏻
Example URLs
https://github.com/refined-github/refined-github/pull/1234/changes?w=1
Description
A file called
.gitattributesin the root of a project tells Github how to color-code / syntax highlight unknown files.Would tell Github to display all
*myextfiles like it would display Javascript files - e.g.const abcwould make the wordconstreddish andabcblueish.However this only applies when looking at a file in the code file viewer. When reviewing such a file in a PR in the code-review panel it uses the plain, non-color coded text only mode.
I would like that it applies the same color coding in a code review as it does in the file view 🙏🏻
Example URLs
https://github.com/refined-github/refined-github/pull/1234/changes?w=1