This repository has been archived by the owner on Apr 17, 2019. It is now read-only.
/
LilyPond-drummode.JSON-tmLanguage
61 lines (61 loc) · 6.08 KB
/
LilyPond-drummode.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
{ "name": "(LilyPond drum mode)",
"hidden": true,
"scopeName": "source.lilypond-drummode",
"patterns": [
{
"name": "meta.lilypond.drummode",
"begin": "([-_^](\\s*))?(((\\\\)drums)|((\\\\)drummode))\\s*({)",
"end": "(})",
"beginCaptures": {
"1": {"name": "entity.name.class.keyword.lilypond"},
"4": {"name": "entity.name.class.keyword.lilypond"},
"6": {"name": "entity.name.class.keyword.lilypond"},
"7": {"name": "entity.other.lilypond"}
},
"endCaptures": {
"1": {"name": "entity.other.lilypond"}
},
"patterns": [
{"include": "source.lilypond-notedrum"},
{"include": "#percussion_notes"},
{"include": "source.lilypond-internals"},
{"include": "source.lilypond-notemode-explicit"},
{"include": "$self"},
{"include": "source.lilypond-lyricsmode"},
{"include": "source.lilypond-markupmode"},
{"include": "source.lilypond-figbassmode"},
{"include": "source.lilypond-schememode"}
]
},
{
"name": "meta.lilypond.drummode",
"begin": "({)",
"end": "(})",
"beginCaptures": {
"1": {"name": "entity.other.lilypond"}
},
"endCaptures": {
"1": {"name": "entity.other.lilypond"}
},
"patterns": [
{"include": "source.lilypond-notedrum"},
{"include": "#percussion_notes"},
{"include": "source.lilypond-internals"},
{"include": "source.lilypond-lyricsmode"},
{"include": "$self"},
{"include": "source.lilypond-notemode-explicit"},
{"include": "source.lilypond-markupmode"},
{"include": "source.lilypond-figbassmode"},
{"include": "source.lilypond-schememode"}
]
}
],
"repository": {
"percussion_notes": {
"match": "\\b((((acousticbassdrum|acousticsnare|agh|agl|bassdrum|bd|bda|boh|bohm|boho|bol|bolm|bolo|cab|cabasa|cb|cgh|cghm|cgho|cgl|cglm|cglo|chinesecymbal|cl|claves|closedhihat|cowbell|crashcymbal|crashcymbala|crashcymbalb|cuim|cuio|cymc|cymca|cymcb|cymch|cymr|cymra|cymrb|cyms|da|db|dc|dd|de|electricsnare|fivedown|fiveup|fourdown|fourup|gui|guil|guiro|guis|halfopenhihat|handclap|hc|hh|hhc|hhho|hho|hhp|hiagogo|hibongo|hiconga|highfloortom|hightom|hihat|himidtom|hisidestick|hitimbale|hiwoodblock|loagogo|lobongo|loconga|longguiro|longwhistle|losidestick|lotimbale|lowfloortom|lowmidtom|lowoodblock|lowtom|mar|maracas|mutecuica|mutehibongo|mutehiconga|mutelobongo|muteloconga|mutetriangle|onedown|oneup|opencuica|openhibongo|openhiconga|openhihat|openlobongo|openloconga|opentriangle|pedalhihat|rb|ridebell|ridecymbal|ridecymbala|ridecymbalb|shortguiro|shortwhistle|sidestick|sn|sna|snare|sne|splashcymbal|ss|ssh|ssl|tamb|tambourine|tamtam|threedown|threeup|timh|timl|tomfh|tomfl|tomh|toml|tommh|tomml|tri|triangle|trim|trio|tt|twodown|twoup|ua|ub|uc|ud|ue|vibraslap|vibs|wbh|wbl|whl|whs))|s|r|R|q)(?![A-Za-z])(\\s*(128|64|32|16|8|4|2|1|\\\\breve|\\\\longa|\\\\maxima)(\\s*[.]\\s*)*((\\s*\\*\\s*\\d+(\\/\\d+)?)+)?)?)(?!(acousticbassdrum|acousticsnare|agh|agl|bassdrum|bd|bda|boh|bohm|boho|bol|bolm|bolo|cab|cabasa|cb|cgh|cghm|cgho|cgl|cglm|cglo|chinesecymbal|cl|claves|closedhihat|cowbell|crashcymbal|crashcymbala|crashcymbalb|cuim|cuio|cymc|cymca|cymcb|cymch|cymr|cymra|cymrb|cyms|da|db|dc|dd|de|electricsnare|fivedown|fiveup|fourdown|fourup|gui|guil|guiro|guis|halfopenhihat|handclap|hc|hh|hhc|hhho|hho|hhp|hiagogo|hibongo|hiconga|highfloortom|hightom|hihat|himidtom|hisidestick|hitimbale|hiwoodblock|loagogo|lobongo|loconga|longguiro|longwhistle|losidestick|lotimbale|lowfloortom|lowmidtom|lowoodblock|lowtom|mar|maracas|mutecuica|mutehibongo|mutehiconga|mutelobongo|muteloconga|mutetriangle|onedown|oneup|opencuica|openhibongo|openhiconga|openhihat|openlobongo|openloconga|opentriangle|pedalhihat|rb|ridebell|ridecymbal|ridecymbala|ridecymbalb|shortguiro|shortwhistle|sidestick|sn|sna|snare|sne|splashcymbal|ss|ssh|ssl|tamb|tambourine|tamtam|threedown|threeup|timh|timl|tomfh|tomfl|tomh|toml|tommh|tomml|tri|triangle|trim|trio|tt|twodown|twoup|ua|ub|uc|ud|ue|vibraslap|vibs|wbh|wbl|whl|whs))",
"name": "keyword.percussionnote.lilypond",
"content": "LilyPond percussion note or abbreviation of percussion note chord"
}
},
"uuid": "b25f3f6f-75fd-4211-bf0b-a776041da2c8"
}