Skip to content

@supports query breaks highlighting #4

Closed
@chaance

Description

@chaance

Video for reference:

CleanShot.2025-01-02.at.08.37.06.mp4

Minimal code-block to reproduce:

:root {
	--supports-red: false;
	@supports (color: red) {
		--supports-red: true;
	}
	--x: 1;
}

Specs:

  • macOS Sonoma 14.7.1
  • VS Code 1.96.2
  • CSS Nesting Syntax Highlighting: latest (0.1.1 at time of writing)

I've tried disabling all other CSS extensions to ensure no conflicts but can't ID any other culprit 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions