Skip to content

Nested scss is fails to parse correctly. #46

@jmurphy-dev

Description

@jmurphy-dev

It seems like this subsyntax fails to match for nested scss.

<subsyntax name="scss">
	<cut-off>
		<expression>(?=&lt;/(?i:style)\b)</expression>
	</cut-off>
</subsyntax>						

here is an example from a .sass file of nested selectors highlighting correctly

Screen Shot 2022-04-21 at 11 56 40 AM

here is the most basic pathological example in a .vue file:
Screen Shot 2022-04-21 at 11 59 35 AM

I tried changing the subsyntax to a subscopes but either I dont know how to correctly make changes to installed plugins or this doesn't fix the problem.

<subscopes repeat="true">
        <include syntax="scss" />
</subscopes>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsyntaxSomething related with syntax

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions