forked from dertuxmalwieder/SublimeTodoTxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTodoTxt.tmLanguage
76 lines (76 loc) · 1.97 KB
/
TodoTxt.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
<?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>todo.txt</string>
<string>done.txt</string>
</array>
<key>name</key>
<string>Todo.txt</string>
<key>patterns</key>
<array>
<dict>
<key>comment</key>
<string>Todo item priority</string>
<key>match</key>
<string>^\([A-Z]\)</string>
<key>name</key>
<string>constant.language.todotxt.priority</string>
</dict>
<dict>
<key>comment</key>
<string>Todo item context</string>
<key>match</key>
<string>\@\S*</string>
<key>name</key>
<string>entity.name.tag.todotxt.context</string>
</dict>
<dict>
<key>comment</key>
<string>Todo item project</string>
<key>match</key>
<string>\+\S*</string>
<key>name</key>
<string>entity.name.function.todotxt.project</string>
</dict>
<dict>
<key>comment</key>
<string>Done Todo item</string>
<key>match</key>
<string>^x\s.*$</string>
<key>name</key>
<string>comment.line.todotxt</string>
</dict>
<dict>
<key>comment</key>
<string>Todo item done or creation date</string>
<key>match</key>
<string>([1-2]\d{3}[-/\\.](0?[1-9]|1[012])[-/\\.](0[1-9]|[12]\d|3[01]) ){1,2}</string>
<key>name</key>
<string>constant.numeric.todotxt.date</string>
</dict>
<dict>
<key>comment</key>
<string>Todo item due date</string>
<key>match</key>
<string>(?i:DUE):([1-2]\d{3}[-/\\.](0?[1-9]|1[012])[-/\\.](0[1-9]|[12]\d|3[01]))</string>
<key>name</key>
<string>constant.numeric.todotxt.date</string>
</dict>
<dict>
<key>comment</key>
<string>Todo WAIT command</string>
<key>match</key>
<string>[^\S](?i:WAIT)[^\S]</string>
<key>name</key>
<string>keyword.other.todotxt.wait</string>
</dict>
</array>
<key>scopeName</key>
<string>text.todotxt</string>
<key>uuid</key>
<string>8887f83b-c6dc-4d6c-909a-62bb008f1c8b</string>
</dict>
</plist>