Skip to content

Commit 27a573a

Browse files
committed
Add #combinator-invalid scope to work with new #selector rules
1 parent 9915121 commit 27a573a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/vscode-css/grammars/css.cson

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'include': '#escapes'
2424
}
2525
{
26-
'include': '#combinators'
26+
'include': '#combinator-invalid'
2727
}
2828
{
2929
'include': '#selector'
@@ -698,14 +698,16 @@
698698
'combinators':
699699
'patterns': [
700700
{
701-
'match': '/deep/|>>>'
702-
'name': 'invalid.deprecated.combinator.css'
701+
'include': '#combinator-invalid'
703702
}
704703
{
705704
'match': '>>|>|\\+|~'
706705
'name': 'keyword.operator.combinator.css'
707706
}
708707
]
708+
'combinator-invalid':
709+
'match': '/deep/|>>>'
710+
'name': 'invalid.deprecated.combinator.css'
709711
'commas':
710712
'match': ','
711713
'name': 'punctuation.separator.list.comma.css'

0 commit comments

Comments
 (0)