-
Notifications
You must be signed in to change notification settings - Fork 26
/
itodo.tmLanguage
82 lines (82 loc) · 1.87 KB
/
itodo.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
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>todo</string>
</array>
<key>keyEquivalent</key>
<string>^~T</string>
<key>name</key>
<string>iTodo</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>^\s*(\w+.+:\s*$\n?)</string>
<key>name</key>
<string>keyword.control.header.itodo</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.bullet.completed.itodo</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>comment.line.completed.itodo</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(\+|✓)\s+((?:[^\@]|(?<!\s)\@|\@(?=\s))*)</string>
<key>name</key>
<string>meta.item.itodo.completed</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.bullet.pending.itodo</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>text.pending.itodo</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(-)\s+((?:[^\@]|(?<!\s)\@)*)</string>
<key>name</key>
<string>meta.item.itodo.pending</string>
</dict>
<dict>
<key>match</key>
<string>(?<=\s)\@(?!today|completed|done)[\w\d\-!?]+\s?</string>
<key>name</key>
<string>meta.tag.itodo</string>
</dict>
<dict>
<key>match</key>
<string>(?<=\s)\@done \([\d\.:\-/ ].+\)\s?</string>
<key>name</key>
<string>meta.tag.itodo.completed</string>
</dict>
<dict>
<key>match</key>
<string>(?<=\s)\@today\s?</string>
<key>name</key>
<string>string.other.tag.itodo.today</string>
</dict>
</array>
<key>scopeName</key>
<string>text.itodo</string>
<key>uuid</key>
<string>8fj2g29c-04ef-4330-9a6b-9b99aae1c418</string>
</dict>
</plist>