-
Notifications
You must be signed in to change notification settings - Fork 1
/
Output.json-tmLanguage
97 lines (83 loc) · 1.99 KB
/
Output.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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{ "name": "Command Output",
"scopeName": "text.shebang",
"fileTypes": [""],
"foldingStartMarker":"\u200c",
"foldingStopMarker":"\u200d",
"repository": {
"pythonTraceback":{
"begin":"(Traceback \\(most recent call last\\):)",
"end":"(?=\u200d)",
"beginCaptures":{
"1": { "name": "meta.tag" }
},
"patterns": [
{
"match": "File \"([^\"]+)\", line (\\d+)(?:, in)?",
"name":"meta.tag",
"captures": {
"1": { "name": "keyword" },
"2": { "name": "keyword" }
}
},
{
"match": "^([A-Z].*)",
"captures": {
"1": { "name": "entity" },
"2": { "name": "entity" }
}
},
{ "include":"source.python"}
]
}
},
"patterns": [
{
"match":"^(\\s*\\w+\\:)(.*)$",
"captures":{
"1":{ "name":"comment.header.shebang"},
"2":{ "name":"support.section"}
}
},
{
"begin":"(?<=\u200c)",
"end":"(?=\u200d)",
"name":"output.shebang",
"patterns":[
{ "include": "#pythonTraceback" }
],
"comment":"script-output body"
},
{
"begin":"(?<=\u200b)",
"patterns":[
{
"match":"(?<=\\[)\\d+(?=\\])",
"name":"keyword.pid.shebang"
}
],
"end":"(?=\u200c)",
"name":"comment.header.shebang",
"comment":"script-started header"
},
{
"begin":"(?<=\u200d)",
"end":"([\\d⓵⓶⓷⓸⓹⓺⓻⓼⓽⓾]+)?(?=\u2060)",
"endCaptures":{
"1": { "name": "entity" }
},
"name":"support.section",
"patterns":[
{
"match":"([\\d\\.]*)(?=[hms\\'\\\"])",
"name":"meta.tag"
},
{
"match":"([\\d\\.]*) ((bytes)|(kb)|(mb)|gb)",
"name":"meta.tag"
}
],
"comment":"script-complete footer"
}
],
"uuid": "d763f066-7161-4e49-a979-4f2e70991af3"
}