提交 1aba1bb0 编写于 作者: D David Storey

Add functions to CSS syntax highlight that accept only <number>s

cubic-bezier, matrix, matrix3d, scale, scale3d, scaleX, scaleY, scaleZ.
上级 f7fe750c
...@@ -592,6 +592,42 @@ ...@@ -592,6 +592,42 @@
</dict> </dict>
</array> </array>
</dict> </dict>
<dict>
<key>begin</key>
<string>(cubic-bezier|matrix(3d)?|scale(3d|X|Y|Z)?)\s*(\()</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>support.function.misc.css</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>punctuation.section.function.css</string>
</dict>
</dict>
<key>end</key>
<string>(\))</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.section.function.css</string>
</dict>
</dict>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>(?:-|\+)?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+))</string>
<key>name</key>
<string>constant.numeric.css</string>
</dict>
</array>
</dict>
<dict> <dict>
<key>begin</key> <key>begin</key>
<string>(format|local|url|attr|counter|counters)\s*(\()</string> <string>(format|local|url|attr|counter|counters)\s*(\()</string>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册