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
/
Copy pathLilyPond-drummode.tmLanguage
170 lines (170 loc) · 6 KB
/
LilyPond-drummode.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>hidden</key>
<true/>
<key>name</key>
<string>(LilyPond drum mode)</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>([-_^](\s*))?(((\\)drums)|((\\)drummode))\s*({)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.name.class.keyword.lilypond</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>entity.name.class.keyword.lilypond</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>entity.name.class.keyword.lilypond</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>entity.other.lilypond</string>
</dict>
</dict>
<key>end</key>
<string>(})</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.other.lilypond</string>
</dict>
</dict>
<key>name</key>
<string>meta.lilypond.drummode</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.lilypond-notedrum</string>
</dict>
<dict>
<key>include</key>
<string>#percussion_notes</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-internals</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-notemode-explicit</string>
</dict>
<dict>
<key>include</key>
<string>$self</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-lyricsmode</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-markupmode</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-figbassmode</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-schememode</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>({)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.other.lilypond</string>
</dict>
</dict>
<key>end</key>
<string>(})</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.other.lilypond</string>
</dict>
</dict>
<key>name</key>
<string>meta.lilypond.drummode</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.lilypond-notedrum</string>
</dict>
<dict>
<key>include</key>
<string>#percussion_notes</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-internals</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-lyricsmode</string>
</dict>
<dict>
<key>include</key>
<string>$self</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-notemode-explicit</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-markupmode</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-figbassmode</string>
</dict>
<dict>
<key>include</key>
<string>source.lilypond-schememode</string>
</dict>
</array>
</dict>
</array>
<key>repository</key>
<dict>
<key>percussion_notes</key>
<dict>
<key>content</key>
<string>LilyPond percussion note or abbreviation of percussion note chord</string>
<key>match</key>
<string>\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))</string>
<key>name</key>
<string>keyword.percussionnote.lilypond</string>
</dict>
</dict>
<key>scopeName</key>
<string>source.lilypond-drummode</string>
<key>uuid</key>
<string>b25f3f6f-75fd-4211-bf0b-a776041da2c8</string>
</dict>
</plist>