forked from LingFeng-bbben/MajdataEdit-Neo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimai.tmLanguage.json
More file actions
72 lines (72 loc) · 1.67 KB
/
simai.tmLanguage.json
File metadata and controls
72 lines (72 loc) · 1.67 KB
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
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "simai",
"patterns": [
{
"name": "keyword.control.simai",
"match": "&\\w*="
},
{
"name": "string.quoted.double.bpm.simai",
"begin": "\\(",
"end": "\\)"
},
{
"name": "support.function.measure.simai",
"begin": "{",
"end": "}",
"patterns": [
{
"name":"constant.numeric",
"match": "-?\\+?[0-9]+\\.?[0-9]*"
}
]
},
{
"name": "support.variable.taps.simai",
"match": "(?<![ABCDE])[1-8]?[1-8]b?x?b?(?=,|/)",
"patterns": [{ "include": "#break" },{ "include": "#ex" }]
},
{
"name": "support.type.period.simai",
"begin": "\\[",
"end": "\\]",
"patterns": [
{
"name": "constant.numeric.simai",
"match": "[0-9]+:[0-9]+"
}
]
},
{
"name": "support.variable.slide.simai",
"match": "[1-8*][bx]*([<>^\\-qpwzsVv][qp]?[1-8]+)+b?",
"patterns": [{ "include": "#break" },{ "include": "#ex" }]
},
{
"name": "support.variable.touch.simai",
"match": "[ABCDE][1-8]?[bfxh]*",
"patterns": [{ "include": "#break" },{ "include": "#ex" }]
},
{
"name": "support.variable.hold.simai",
"match": "[1-8][bx]*h[bx]*",
"patterns": [{ "include": "#break" },{ "include": "#ex" }]
},
{
"name": "comment.line.simai",
"match": "\\|\\|.*"
}
],
"repository": {
"break": {
"name": "break.simai",
"match": "b"
},
"ex": {
"name": "ex.simai",
"match": "x"
}
},
"scopeName": "maidata.simai"
}