Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCSS Syntax highlighting compound selectors as errors #203

Closed
sdempsey opened this issue Feb 9, 2016 · 2 comments
Closed

SCSS Syntax highlighting compound selectors as errors #203

sdempsey opened this issue Feb 9, 2016 · 2 comments

Comments

@sdempsey
Copy link

sdempsey commented Feb 9, 2016

Brought this issue up with the cobalt2 theme developer: wesbos/cobalt2#96
He indicated that they could fix the issue but that this was really more of an issue with the syntax highlighting. This is basically a copy/paste of the first issue but it applies.

What I like to do (sort of a BEM like approach). I have a selector .custom-tooltip I like to create selectors for inner elements such as .custom-tooltip-content or .custom-tooltip-legend

.custom-tooltip {

    &-content {
        //.custom-tooltip-content styles
    }

    &-legend {
        //.custom-tooltip-legend styles
    }
}

SCSS syntax renders them like so:
screen shot 2016-02-09 at 11 52 30 am

I'd prefer the compound selectors were rendered in the same color as the ampersand/selector name.

If there's anything I can do to help, please let me know.

Thanks,
Sean

@jcloutz
Copy link

jcloutz commented Feb 24, 2016

Related to #192. As much as I love Sublime this is sufficiently annoying that I've starting using Atom :/

@sdempsey
Copy link
Author

Sure is. I thought I had sufficiently searched before opening this. Closing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants