MarioRicalde / SCSS.tmbundle

The TextMate SCSS Official Bundle. Now Compatible with SublimeText2.
832 stars 111 forks source link

Class Selector Highlight Issue #215

Open dggsax opened 6 years ago

dggsax commented 6 years ago

This has probably already been reported, but there's some weird syntax highlighting happening. When I try to do the following:

.class {
    // some css stuff
    &-second {
        // some more css stuff
    }
 }

to get:

.class {
    // some css stuff
}
.class-second {
    // some css stuff
    // some more css stuff
}

the package will highlight the "-second" as if it's an error. Screenshot below for reference. image

Thanks!

nypinstripes commented 6 years ago

@MarioRicalde @dggsax Yes, thank you. Seeing it also, after the latest update. This is valid SCSS syntax &-xyz, right now having to switch back to Sass > SCSS syntax each time i open a file, super annoying the 'always' setting won't stick either I guess cause they share the same name. I'm also now noticing it for SVG tag name selectors like use & stroke:

higimo commented 6 years ago

@nypinstripes sorry. I can't switch, this highlight in SCSS right now. This will be solved?

ST 3

joshmakar commented 6 years ago

Same thing here.

capture