SCSS.tmbundle icon indicating copy to clipboard operation
SCSS.tmbundle copied to clipboard

Class Selector Highlight Issue

Open dggsax opened this issue 7 years ago • 3 comments

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!

dggsax avatar Jan 09 '18 21:01 dggsax

@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:

nypinstripes avatar Feb 22 '18 20:02 nypinstripes

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

ST 3

higimo avatar Feb 25 '18 23:02 higimo

Same thing here.

capture

joshmakar avatar Mar 01 '18 14:03 joshmakar