forked from kevinior/SublimeCrontab
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Crontab.tmLanguage
78 lines (78 loc) · 1.73 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?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>keyword.at.crontab</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.command.crontab</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(\@[^\s]+)\s+(.*)$\n?</string>
<key>name</key>
<string>meta.declaration.crontab</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.minute.crontab</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>constant.hour.crontab</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>class.dayofmonth.crontab</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>keyword.month.crontab</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>constant.dayofweek.crontab</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>string.command.crontab</string>
</dict>
</dict>
<key>match</key>
<string>^\s*([^\#\s\t]+)\s+([^\s\t]+)\s+([^\s\t]+)\s+([^\s\t]+)\s+([^\s\t]+)\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>