Closed octref closed 4 years ago
Thanks @octref :+1: We'll share this with the other maintainers and see what they think.
@octref Yep, a PR for this would be great!
The PR is at https://github.com/atom/language-css/pull/165. @rsese should I ask someone to review, or should I review it myself 😅
Prerequisites
Description
For below CSS code:
min-device-width
is marked asinvalid.deprecated.media.css
. Although Atom is already on tree-sitter and it doesn't mark it asinvalid.deprecated
, other editors such as VS Code does. This causes an unpleasant highlighting:Sublime's documentation also states:
I suggest making the scope
support.type.property-name.media.css
, as people might be working with older language. This also makes it consistent with tree-sitter's CSS grammar as it doesn't mark it as invalid/deprecated:I can work on a PR if that change is fine for you, @maxbrunsfeld and @rsese.
Additional Information
Originally posted at https://github.com/microsoft/vscode/issues/62515