This repository has been archived by the owner on Apr 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
LilyPond-figuregroup.JSON-tmLanguage
43 lines (43 loc) · 2.57 KB
/
LilyPond-figuregroup.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
{ "name": "(LilyPond figure group)",
"hidden": true,
"scopeName": "source.lilypond-figuregroup",
"patterns": [
{
"name": "meta.lilypond.figuregroup",
"begin": "(<)",
"end": "(>)(\\s*(128|64|32|16|8|4|2|1|\\\\breve|\\\\longa|\\\\maxima)(\\s*[.]\\s*)*((\\s*\\*\\s*\\d+(\\/\\d+)?)+)?)?",
"beginCaptures": {
"1": {"name": "constant.numeric.fbgroupopen.lilypond"}
},
"endCaptures": {
"1": {"name": "constant.numeric.fbgroupclose.lilypond"},
"2": {"name": "constant.numeric.fbgroupclose.lilypond"}
},
"patterns": [
{"include": "source.lilypond-markupmode"},
{"include": "#group"},
{"include": "#figure"},
{"include": "#accidental"}
]
},
{"include": "source.lilypond-schememode"}
],
"repository": {
"group": {
"name": "keyword.operator.figuregroup.brackets",
"match": "(\\[)|(\\])",
"content": "Vertical brackets grouping figured bass figures"
},
"figure": {
"match": "\\d*(\\\\\\+|/|\\\\\\\\|\\\\!)?",
"name": "keyword.fbfigure.lilypond",
"content": "Figured bass figure, optionally with aug or dim indicators"
},
"accidental": {
"match": "(!|\\+|-|\\+\\+|--)",
"name": "keyword.fbaccidental.lilypond",
"content": "Figured bass accidental"
}
},
"uuid": "d5c2b5e3-eac8-4efa-b84f-7cf4407a2f2a"
}