-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_in_scratch.json-tmlanguage
65 lines (65 loc) · 2 KB
/
run_in_scratch.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
{ "name": "run_in_scratch",
"scopeName": "source.run_in_scratch",
"fileTypes": [""],
"patterns": [
{ "match": "(^.+\\.rb:\\d+:[^\\n]+\\(.+Error\\))",
"name": "error.run_in_scratch",
"captures": {
"1": { "name": "constant.character.escape.run_in_scratch" }
},
"comment": "This comment is optional."
},
{ "match": "(^ .+)",
"name": "error.run_in_scratch",
"captures": {
"1": { "name": "constant.character.escape.run_in_scratch" }
},
"comment": "This comment is optional."
},
{ "match": "(^.+\\.rb: )(line: \\d+)",
"name": "string.run_in_scratch",
"captures": {
"1": { "name": "string.run_in_scratch" },
"2": { "name": "string.run_in_scratch" }
},
"comment": "This comment is optional."
},
{ "match": "((?:\"[^\"]+\")|(?::[a-zA-Z]+))",
"name": "string.run_in_scratch",
"captures": {
"1": { "name": "string.run_in_scratch" }
},
"comment": "This comment is optional."
},
{ "match": "(true|false)",
"name": "bool.run_in_scratch",
"captures": {
"1": { "name": "constant.numeric.run_in_scratch" }
},
"comment": "This comment is optional."
},
{ "match": "(\\d+)",
"name": "numeric.run_in_scratch",
"captures": {
"1": { "name": "constant.numeric.run_in_scratch" }
},
"comment": "This comment is optional."
},
{"match": "(^TODO:)(.+)",
"name": "todo.run_in_scratch",
"captures": {
"1": { "name": "entity.other.attribute-name.escape.sequence.run_in_scratch" },
"2": { "name": "comment.run_in_scratch" }
},
"comment": "This comment is optional."
},
{"match": "(^LOG:.+)",
"name": "todo.run_in_scratch",
"captures": {
"1": { "name": "comment.run_in_scratch" }
},
"comment": "This comment is optional."
}
],
"uuid": "f559265f-9e92-4de4-9d2c-448d739dfc4f"
}