github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
12.34k stars 4.27k forks source link

In CSS files, HTML element names are not highlighted consistently. #2795

Closed carlsmith closed 8 years ago

carlsmith commented 8 years ago

If you look at this file, you'll see that body, section and span are highlighted green, but main is highlighted black.

pchaigno commented 8 years ago

Linguist only selects the grammar to use for highlighting. For CSS, GitHub uses textmate/css.tmbundle. You should open an issue there if there isn't already one.

carlsmith commented 8 years ago

Ah. Noted. Cheers.

arfon commented 8 years ago

Closing as this is an upstream issue.