Linguist: Syntax highlighting bug

Created on 22 Apr 2016  路  6Comments  路  Source: github/linguist

In one of my .scss files I have stored on GitHub, the @ symbol is being highlighted red, but I see no reason for it to be an error. See here for an example:

https://github.com/lsquo/lsquo.github.io/blob/master/_sass/_media.scss

Is this a Linguist issue?

Most helpful comment

@aaronlademann-wf I just pinged the actual maintainer of the project (that sometimes works). If he doesn't answer in the next week, please open an issue and we'll try to find a replacement grammar.

All 6 comments

Is this a Linguist issue?

No, it's not. Linguist only selects the grammar to use for highlighting. For SCSS, GitHub uses MarioRicalde/SCSS.tmbundle. You should open an issue there if there isn't already one ;)

Thanks @pchaigno, I've opened an issue upstream. See #207.

Perfect! When the bug is fixed upstream, the dependency will be automatically updated with the next release of Linguist.

Closing as this is an upstream issue.

@arfon is there any concern that the upstream dependency being used... hasn't been updated in over 2 years? What are the odds of the upstream dependency actually fixing it?

@aaronlademann-wf I just pinged the actual maintainer of the project (that sometimes works). If he doesn't answer in the next week, please open an issue and we'll try to find a replacement grammar.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

friedc picture friedc  路  6Comments

headupinclouds picture headupinclouds  路  4Comments

BnSalahFahmi picture BnSalahFahmi  路  3Comments

lucasrodes picture lucasrodes  路  6Comments

pfitzseb picture pfitzseb  路  5Comments