Syntax-highlighting-for-Sass
Syntax-highlighting-for-Sass copied to clipboard
Pseudos and some others not colored correctly
Hi! I just noticed this with the newest updates but not sure if this package causes it. Pseudos and links for example (after :) are not correctly colored. When I install "SCSS" package, I get two SCSS in set syntax menu where other one works, but is not default.
Here's some screenshots:
Any tips?
Using Sublime Text Dev 3154 and latest Syntax-hilighting-for Sass-package.
The pseudo elements and pseudo classes are actually highlighted, but they are not assigned to any colour or assigned to white by the default Monokai colour scheme. The reason I did this is that I want to highlight the pseudos in the same way as the default CSS package and also in a different colour.
The Monokai Extended support highlighting pseudos.
CC @MartinFugess
Thanks for clarifying that it's more like a Color Scheme issue.
I got the correct syntax by copying Monokai Extended theme and changing the colors I had in my Spacegray-itg-monokai hybrid. So now it works correctly. For other interested parties, my theme can be found here.
Thanks again.
Ok, it didn't solve the problem... I'm not sure how to add pseudos...
solution is to use the old version. I also solved it this way.
https://github.com/jonschlinkert/sublime-monokai-extended/blob/master/Monokai%20Extended%20Origin.tmTheme#L556-L568
This code snippet might help. In the snippet, the scope to match pseudos is entity.other.attribute-name.pseudo-class.css
, but both the default CSS package and this package use scope entity.other.pseudo-class.css
. So don't forget to use entity.other.pseudo-class.css
@P233 That didn't help unfortunately... @MartinFugess's solution to revert back older version is the best solution for now. Thanks!
While searching and waiting for better solution, I have created a legacy fork of the old version here to use with Add repository option and to prevent overriding/bugs with manual transfer.
I'm having the exact same problem, except it didn't appear to me until the update to 1.2.3
Switching to Monokai Extended fixed the pseudo selectors, but not variables, which are white as of update to 1.2.3.
Using ST3 build 3143
@davejtoews the same problem. i just want to have highlighting for variables & pseudo selectors ;(
thanks)