-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmmm.JSON-tmLanguage
68 lines (67 loc) · 1.69 KB
/
mmm.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
{ "name": "mmm",
"scopeName": "source.mmm",
"fileTypes": ["mmm"],
"patterns": [
{ "match": "^\\*\\*\\*.*?\\*\\*\\*$",
"name": "entity.name.class.mmm",
"comment": "Headers"
},
{ "match": "^\\S+.*?:\\s*$",
"name": "variable.parameter.mmm",
"comment": "Sub headers"
},
{ "match": "---+",
"name": "storage.type.mmm",
"comment": "Separators"
},
{ "match": "^\\s+[\\+|\\-|\\*]",
"name": "constant.numeric.mmm",
"comment": "Bulleted lists..."
},
{ "name": "variable.complex.mmm",
"begin": "\"",
"beginCaptures": {
"0": { "name": "string.mmm" }
},
"patterns": [
{ "include": "$self" },
{ "name": "string.mmm",
"match": "."
}
],
"end": "\"",
"endCaptures": {
"0": { "name": "string.mmm"}
},
"comment": "Double quoted strings"
},
{ "name": "variable.complex.mmm",
"match": "('.*?')",
"captures": {
"1" : {"name" : "string.mmm" }
},
"comment": "Single quoted strings"
},
{ "name": "variable.complex.mmm",
"begin": "#sql",
"beginCaptures": {
"0": { "name": "comment.mmm" }
},
"patterns": [
{ "include": "$self" },
{ "name": "keyword.mmm",
"match": "select|from|join|on|in|\\*"
},
{ "name": "keyword.mmm",
"match": "where"
}
],
"end": "#/sql",
"endCaptures": {
"0": { "name": "comment.mmm"}
},
"comment": "sql code highlighting"
}
],
"uuid": "c6df4ff3-4c69-4c8a-9c38-533f85e80409"
}