This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
forked from wl879/SublimeOnSave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOnSave.tmLanguage
97 lines (97 loc) · 2.66 KB
/
OnSave.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?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>name</key>
<string>OnSave Console</string>
<key>patterns</key>
<array>
<dict>
<key>comment</key>
<string>CMD</string>
<key>match</key>
<string>^>>> (#.*)$</string>
<key>name</key>
<string>storage</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>constant.character</string>
</dict>
</dict>
</dict>
<dict>
<key>begin</key>
<string>"</string>
<key>end</key>
<string>"</string>
<key>name</key>
<string>string.quoted.double.js</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>\\.</string>
<key>name</key>
<string>string.quoted.double.js</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>'</string>
<key>end</key>
<string>'</string>
<key>name</key>
<string>string.quoted.single.js</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>\\.</string>
<key>name</key>
<string>string.quoted.single.js</string>
</dict>
</array>
</dict>
<dict>
<key>comment</key>
<string>esc</string>
<key>match</key>
<string>\\.</string>
<key>name</key>
<string>constant.character</string>
</dict>
<dict>
<key>comment</key>
<string>Symbol</string>
<key>match</key>
<string>[^\w:\.\[\]\(\)\;\,\{\}\/]</string>
<key>name</key>
<string>storage</string>
</dict>
<dict>
<key>comment</key>
<string>File</string>
<key>match</key>
<string>(\/?(?:[\w\-\.]*?\/)+[\w\-\.]+\.\w+) *(?:\" *|:|, *line|at *line){0,2} *(\d*)</string>
<key>name</key>
<string>string</string>
</dict>
<dict>
<key>comment</key>
<string>Number</string>
<key>match</key>
<string>(?<![a-zA-Z])(0[xX][0-9a-fA-F]+|(?:\.\d+|\d+(?:\.\d+)?)(?:e\-?\d+)?)</string>
<key>name</key>
<string>constant.numeric</string>
</dict>
</array>
<key>scopeName</key>
<string>text.on-save</string>
<key>uuid</key>
<string>882bd578-e7a7-11e5-b2c6-600308a17fe2</string>
</dict>
</plist>