Skip to content

Commit 942299b

Browse files
committed
Update scopes for property-names
1 parent 27a573a commit 942299b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/vscode-css/grammars/css.cson

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,11 +1621,11 @@
16211621
)
16221622
(?![\\w-])
16231623
'''
1624-
'name': 'support.type.property-name.css'
1624+
'name': 'meta.property-name.css support.type.property-name.css'
16251625
}
16261626
{
16271627
'match': '(?<![\\w-])(?i:-(?:ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)|(?:mso|prince))-[a-zA-Z-]+'
1628-
'name': 'support.type.vendored.property-name.css'
1628+
'name': 'meta.property-name.css support.type.vendored.property-name.css'
16291629
}
16301630
]
16311631
'property-values':
@@ -1751,18 +1751,16 @@
17511751
'''
17521752
'name': 'variable.css'
17531753
}
1754+
{
1755+
'include': '#property-names'
1756+
}
17541757
{
17551758
'include': '#selector'
17561759
}
17571760
{
17581761
'begin': '(?<![-a-zA-Z])(?=[-a-zA-Z])'
17591762
'end': '$|(?![-a-zA-Z])'
17601763
'name': 'meta.property-name.css'
1761-
'patterns': [
1762-
{
1763-
'include': '#property-names'
1764-
}
1765-
]
17661764
}
17671765
{
17681766
'begin': '(:)\\s*'

0 commit comments

Comments
 (0)