-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCssCoco.tmLanguage
83 lines (83 loc) · 2.01 KB
/
CssCoco.tmLanguage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>coco</string>
</array>
<key>name</key>
<string>CssCoco</string>
<key>patterns</key>
<array>
<dict>
<key>comment</key>
<string>constant numbers</string>
<key>match</key>
<string>(?<!\w)\-*\+*\d+(\.\d+)?</string>
<key>name</key>
<string>constant.numeric.ssraw</string>
</dict>
<dict>
<key>comment</key>
<string>strings</string>
<key>match</key>
<string>\'.*\'</string>
<key>name</key>
<string>string.single.ssraw</string>
</dict>
<dict>
<key>comment</key>
<string>operators</string>
<key>match</key>
<string>(?<!\w)(or|and|not|in|is|between|after|before|match|next-to)(?!(\w|\-))</string>
<key>name</key>
<string>keyword.operator.ssraw</string>
</dict>
<dict>
<key>comment</key>
<string>comparison operators</string>
<key>match</key>
<string>(?<!\w)(ignore|find|message|where|require|forbid)(?!(\w|\-))</string>
<key>name</key>
<string>keyword.other.ssraw</string>
</dict>
<dict>
<key>comment</key>
<string>constant literals</string>
<key>match</key>
<string>(?i)(true|false)</string>
<key>name</key>
<string>constant.language.ssraw</string>
</dict>
<dict>
<key>comment</key>
<string>keywords</string>
<key>match</key>
<string>(lowercase|uppercase)</string>
<key>name</key>
<string>support.constant.ssraw</string>
</dict>
<dict>
<key>begin</key>
<string>/\*</string>
<key>captures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.mn</string>
</dict>
</dict>
<key>end</key>
<string>\*/</string>
<key>name</key>
<string>comment.block.ssraw</string>
</dict>
</array>
<key>scopeName</key>
<string>source.coco</string>
<key>uuid</key>
<string>7f0753b0-e4ea-4ab9-b19a-5b535bdb3618</string>
</dict>
</plist>