File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 649649 ]
650650 }
651651 ]
652+ ' at-rule-supports-nested' :
653+ # @supports
654+ ' begin' : ' (?i)(?=@supports(\\ s|\\ (|/\\ *|$))'
655+ ' end' : ' (?<=})(?!\\ G)|(?=;)'
656+ ' patterns' : [
657+ {
658+ ' begin' : ' (?i)\\ G(@)supports'
659+ ' beginCaptures' :
660+ ' 0' :
661+ ' name' : ' keyword.control.at-rule.supports.css'
662+ ' 1' :
663+ ' name' : ' punctuation.definition.keyword.css'
664+ ' end' : ' (?=\\ s*[{;])'
665+ ' name' : ' meta.at-rule.supports.header.css'
666+ ' patterns' : [
667+ {
668+ ' include' : ' #feature-query-operators'
669+ }
670+ {
671+ ' include' : ' #feature-query'
672+ }
673+ {
674+ ' include' : ' #comment-block'
675+ }
676+ {
677+ ' include' : ' #escapes'
678+ }
679+ ]
680+ }
681+ {
682+ ' begin' : ' {'
683+ ' beginCaptures' :
684+ ' 0' :
685+ ' name' : ' punctuation.section.supports.begin.bracket.curly.css'
686+ ' end' : ' }'
687+ ' endCaptures' :
688+ ' 0' :
689+ ' name' : ' punctuation.section.supports.end.bracket.curly.css'
690+ ' name' : ' meta.at-rule.supports.body.css'
691+ ' patterns' : [
692+ {
693+ ' include' : ' #rule-list-innards'
694+ }
695+ {
696+ ' include' : ' $self'
697+ }
698+ ]
699+ }
700+ ]
652701 ' color-keywords' :
653702 ' patterns' : [
654703 {
17221771 ' name' : ' punctuation.section.property-list.end.bracket.curly.css'
17231772 ' name' : ' meta.property-list.css'
17241773 ' patterns' : [
1774+ {
1775+ ' include' : ' #at-rule-supports-nested'
1776+ }
17251777 {
17261778 ' include' : ' #rule-list-innards'
17271779 }
You can’t perform that action at this time.
0 commit comments