forked from WheresWardy/SublimeCrontab
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCrontab.tmLanguage
59 lines (59 loc) · 1.34 KB
/
Crontab.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
<?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>crontab</string>
<string>cron</string>
</array>
<key>name</key>
<string>Crontab</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>meta.minute.crontab</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>meta.hour.crontab</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>meta.dayofmonth.crontab</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>meta.month.crontab</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>meta.dayofweek.crontab</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>string.command.crontab</string>
</dict>
</dict>
<key>match</key>
<string>^([\*0-9,\-\/]+)\s+([\*0-9,\-\/]+)\s+([\*0-9,\-\/]+)\s+([\*0-9,\-\/]+)\s+([\*0-9,\-\/]+)\s+(.*)$\n?</string>
<key>name</key>
<string>meta.declaration.crontab</string>
</dict>
</array>
<key>scopeName</key>
<string>crontab</string>
<key>uuid</key>
<string>3c4b8943-5779-4c8b-ba99-c65bbc144d44</string>
</dict>
</plist>