forked from shammond42/cheater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheat-sheets.tmLanguage
67 lines (67 loc) · 1.48 KB
/
cheat-sheets.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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>cheatsheet</string>
</array>
<key>name</key>
<string>Cheat Sheet</string>
<key>patterns</key>
<array>
<!-- Colors based on Monokai scheme --!>
<!-- Subtext: Yellow -->
<dict>
<key>match</key>
<string>^>\t\t.*</string>
<key>name</key>
<string>string</string>
</dict>
<!-- Header: Purple -->
<dict>
<key>match</key>
<string>^>\t.*</string>
<key>name</key>
<string>constant.numeric</string>
</dict>
<!-- Comment: Grey -->
<dict>
<key>match</key>
<string>[#].*</string>
<key>name</key>
<string>comment</string>
</dict>
<!-- Keycode: Green -->
<dict>
<key>match</key>
<string>^\t.*(?=#)|^\t.*(?=\t)</string>
<key>name</key>
<string>entity.name.function</string>
</dict>
<!-- Keycode: Green -->
<dict>
<key>match</key>
<string>^\t.*(?=\n)</string>
<key>name</key>
<string>entity.name.function</string>
</dict>
<!-- Keycode: Green -->
<dict>
<key>match</key>
<string>^.*\s\s</string>
<key>name</key>
<string>entity.name.function</string>
</dict>
<!-- Keycode: Green -->
<dict>
<key>match</key>
<string>^\S.*\t</string>
<key>name</key>
<string>entity.name.function</string>
</dict>
</array>
<key>scopeName</key>
<string>source.cheat-sheet</string>
</dict>
</plist>