From 8aea156be812156e92621b310d9826b7f639497d Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Tue, 20 Jul 2021 09:52:12 +0200 Subject: [PATCH] Update css grammar --- extensions/css/cgmanifest.json | 4 ++-- extensions/css/syntaxes/css.tmLanguage.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/extensions/css/cgmanifest.json b/extensions/css/cgmanifest.json index d17931c32f8..81a927a5984 100644 --- a/extensions/css/cgmanifest.json +++ b/extensions/css/cgmanifest.json @@ -6,7 +6,7 @@ "git": { "name": "atom/language-css", "repositoryUrl": "https://github.com/atom/language-css", - "commitHash": "339e9600ce4e024fa97a711d6330e3b5344fcbdc" + "commitHash": "033087e8caa1b87ca91ee5b211de118b6b3c311d" } }, "licenseDetail": [ @@ -44,7 +44,7 @@ ], "license": "GitHub License", "description": "The file syntaxes/css.tmLanguage.json was derived from https://github.com/atom/language-css which was originally converted from the TextMate bundle https://github.com/textmate/css.tmbundle.", - "version": "0.44.4" + "version": "0.44.6" } ], "version": 1 diff --git a/extensions/css/syntaxes/css.tmLanguage.json b/extensions/css/syntaxes/css.tmLanguage.json index 27c0eeae4ac..0e3d8b7e322 100644 --- a/extensions/css/syntaxes/css.tmLanguage.json +++ b/extensions/css/syntaxes/css.tmLanguage.json @@ -4,7 +4,7 @@ "If you want to provide a fix or improvement, please create a pull request against the original repository.", "Once accepted there, we are happy to receive an update request." ], - "version": "https://github.com/atom/language-css/commit/339e9600ce4e024fa97a711d6330e3b5344fcbdc", + "version": "https://github.com/atom/language-css/commit/033087e8caa1b87ca91ee5b211de118b6b3c311d", "name": "CSS", "scopeName": "source.css", "patterns": [ @@ -508,7 +508,7 @@ ] }, { - "begin": "(?i)((@)viewport)(?=[\\s'\"{;]|/\\*|$)", + "begin": "(?i)((@)(-(ms|o)-)?viewport)(?=[\\s'\"{;]|/\\*|$)", "beginCaptures": { "1": { "name": "keyword.control.at-rule.viewport.css" @@ -1421,7 +1421,7 @@ "property-names": { "patterns": [ { - "match": "(?xi) (?