-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathTask.JSON-tmLanguage
37 lines (37 loc) · 1.1 KB
/
Task.JSON-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
{ "name": "Task",
"scopeName": "text.task",
"fileTypes": ["task", "tasks", "todo.txt", "todo", "todolists"],
"patterns": [
{ "name": "keyword",
"match": "\\b(New|new|NEW|Working|working|WORKING|Done|done|DONE|Todo|TODO|todo|bug|Bug|BUG|TBD|Note|NOTE|Notes|NOTES)\\b",
"comment": "Keywords"
},
{
"name": "keyword",
"match": "[\\[\\]]",
"comment": "[ and ]"
},
{ "name": "support.function",
"match": "^[^-~✓]*:\\s+",
"comment": "Task Title"
},
{ "name": "variable.parameter",
"match": "^\\s*~[^\\[\\]]*",
"comment": "Started Tasks"
},
{ "name": "entity.other.attribute-name",
"match": "^\\s*✓[^\\[\\]]*",
"comment": "Completed Tasks"
},
{ "name": "keyword",
"match": "^\\s*-[^\\[\\]]*",
"comment": "Action Items"
},
{
"name": "keyword",
"match": "\\b(https?|ftp)://\\S+(/|[^\\s`!()\\[\\]{};:'\".,<>?«»“”‘’])",
"comment": "url"
}
],
"uuid": "47fcd6b9-58c4-4518-855b-a7e16298177c"
}