github-linguist 4.8.0 → 4.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,152 +0,0 @@
1
- {
2
- "fileTypes": [
3
- "scad"
4
- ],
5
- "foldingStartMarker": "/\\*\\*|\\{\\s*$",
6
- "foldingStopMarker": "\\*\\*/|^\\s*\\}",
7
- "keyEquivalent": "^~S",
8
- "name": "OpenSCAD",
9
- "patterns": [
10
- {
11
- "captures": {
12
- "1": {
13
- "name": "keyword.control.scad"
14
- }
15
- },
16
- "match": "^(module)\\s.*$",
17
- "name": "meta.function.scad"
18
- },
19
- {
20
- "match": "\\b(if|else|for|intersection_for|assign|render|function|include|use)\\b",
21
- "name": "keyword.control.scad"
22
- },
23
- {
24
- "begin": "/\\*\\*(?!/)",
25
- "captures": {
26
- "0": {
27
- "name": "punctuation.definition.comment.scad"
28
- }
29
- },
30
- "end": "\\*/",
31
- "name": "comment.block.documentation.scad"
32
- },
33
- {
34
- "begin": "/\\*",
35
- "captures": {
36
- "0": {
37
- "name": "punctuation.definition.comment.scad"
38
- }
39
- },
40
- "end": "\\*/",
41
- "name": "comment.block.scad"
42
- },
43
- {
44
- "captures": {
45
- "1": {
46
- "name": "punctuation.definition.comment.scad"
47
- }
48
- },
49
- "match": "(//).*$\\n?",
50
- "name": "comment.line.double-slash.scad"
51
- },
52
- {
53
- "begin": "\"",
54
- "end": "\"",
55
- "name": "string.quoted.double.scad",
56
- "patterns": [
57
- {
58
- "match": "\\\\.",
59
- "name": "constant.character.escape.scad"
60
- }
61
- ]
62
- },
63
- {
64
- "begin": "'",
65
- "beginCaptures": {
66
- "0": {
67
- "name": "punctuation.definition.string.begin.scad"
68
- }
69
- },
70
- "end": "'",
71
- "endCaptures": {
72
- "0": {
73
- "name": "punctuation.definition.string.end.scad"
74
- }
75
- },
76
- "name": "string.quoted.single.scad",
77
- "patterns": [
78
- {
79
- "match": "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)",
80
- "name": "constant.character.escape.scad"
81
- }
82
- ]
83
- },
84
- {
85
- "begin": "\"",
86
- "beginCaptures": {
87
- "0": {
88
- "name": "punctuation.definition.string.begin.scad"
89
- }
90
- },
91
- "end": "\"",
92
- "endCaptures": {
93
- "0": {
94
- "name": "punctuation.definition.string.end.scad"
95
- }
96
- },
97
- "name": "string.quoted.double.scad",
98
- "patterns": [
99
- {
100
- "match": "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)",
101
- "name": "constant.character.escape.scad"
102
- }
103
- ]
104
- },
105
- {
106
- "match": "\\b(abs|acos|asun|atan|atan2|ceil|cos|exp|floor|ln|log|lookup|max|min|pow|rands|round|sign|sin|sqrt|tan|str|cube|sphere|cylinder|polyhedron|scale|rotate|translate|mirror|multimatrix|color|minkowski|hull|union|difference|intersection|echo)\\b",
107
- "name": "support.function.scad"
108
- },
109
- {
110
- "match": "\\;",
111
- "name": "punctuation.terminator.statement.scad"
112
- },
113
- {
114
- "match": ",[ |\\t]*",
115
- "name": "meta.delimiter.object.comma.scad"
116
- },
117
- {
118
- "match": "\\.",
119
- "name": "meta.delimiter.method.period.scad"
120
- },
121
- {
122
- "match": "\\{|\\}",
123
- "name": "meta.brace.curly.scad"
124
- },
125
- {
126
- "match": "\\(|\\)",
127
- "name": "meta.brace.round.scad"
128
- },
129
- {
130
- "match": "\\[|\\]",
131
- "name": "meta.brace.square.scad"
132
- },
133
- {
134
- "match": "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|(?<!\\()/=|%=|\\+=|\\-=|&=|\\^=|\\b(in|instanceof|new|delete|typeof|void)\\b",
135
- "name": "keyword.operator.scad"
136
- },
137
- {
138
- "match": "\\b((0(x|X)[0-9a-fA-F]+)|([0-9]+(\\.[0-9]+)?))\\b",
139
- "name": "constant.numeric.scad"
140
- },
141
- {
142
- "match": "\\btrue\\b",
143
- "name": "constant.language.boolean.true.scad"
144
- },
145
- {
146
- "match": "\\bfalse\\b",
147
- "name": "constant.language.boolean.false.scad"
148
- }
149
- ],
150
- "scopeName": "source.scad",
151
- "uuid": "ED71CA06-521E-4D30-B9C0-480808749662"
152
- }
@@ -1,329 +0,0 @@
1
- {
2
- "author": "Siddley - https://github.com/Siddley",
3
- "fileTypes": [
4
- "creole",
5
- "cr"
6
- ],
7
- "foldingStartMarker": "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|<!--(?!.*-->)\n\t\t|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n\t\t)",
8
- "foldingStopMarker": "(?x)\n\t\t(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^\\s*-->\n\t\t|(^|\\s)\\}\n\t\t)",
9
- "name": "Creole",
10
- "patterns": [
11
- {
12
- "name": "meta.block-level.creole",
13
- "patterns": [
14
- {
15
- "include": "#block_raw"
16
- },
17
- {
18
- "include": "#heading"
19
- },
20
- {
21
- "include": "#inline"
22
- }
23
- ]
24
- },
25
- {
26
- "begin": "^ *([*])+(?=\\s)",
27
- "captures": {
28
- "1": {
29
- "name": "punctuation.definition.list_item.creole"
30
- }
31
- },
32
- "end": "^(?=\\S)",
33
- "name": "markup.list.unnumbered.creole",
34
- "patterns": [
35
- {
36
- "include": "#list-paragraph"
37
- },
38
- {
39
- "include": "#inline"
40
- }
41
- ]
42
- },
43
- {
44
- "begin": "^[ ]*(#)(?=\\s)",
45
- "captures": {
46
- "1": {
47
- "name": "punctuation.definition.list_item.creole"
48
- }
49
- },
50
- "end": "^(?=\\S)",
51
- "name": "markup.list.numbered.creole",
52
- "patterns": [
53
- {
54
- "include": "#list-paragraph"
55
- },
56
- {
57
- "include": "#inline"
58
- }
59
- ]
60
- },
61
- {
62
- "begin": "^(?=<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\\b)(?!.*?</\\1>)",
63
- "comment": "disable creole formatting in block-level tags",
64
- "end": "(?<=^</\\1>$\\n)",
65
- "name": "meta.disable-markdown",
66
- "patterns": [
67
- {
68
- "include": "text.html.basic"
69
- }
70
- ]
71
- },
72
- {
73
- "begin": "^(?=<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\\b)",
74
- "comment": "disable creole formatting in inline tags",
75
- "end": "$\\n?",
76
- "name": "meta.disable-markdown",
77
- "patterns": [
78
- {
79
- "include": "text.html.basic"
80
- }
81
- ]
82
- },
83
- {
84
- "match": "^ *-{4,} *$\\n?",
85
- "name": "punctuation.definition.horizonlal-rule.creole"
86
- }
87
- ],
88
- "repository": {
89
- "list-paragraph": {
90
- "patterns": [
91
- {
92
- "begin": "\\G\\s+(?=\\S)",
93
- "end": "^\\s*$",
94
- "name": "meta.paragraph.list.creole",
95
- "patterns": [
96
- {
97
- "include": "#inline"
98
- }
99
- ]
100
- }
101
- ]
102
- },
103
- "block_raw": {
104
- "patterns": [
105
- {
106
- "begin": "^(\\{\\{\\{)\\s*$\\n?",
107
- "captures": {
108
- "1": {
109
- "name": "punctuation.definition.raw.creole"
110
- }
111
- },
112
- "end": "^(\\}\\}\\})\\s*$\\n?",
113
- "name": "markup.raw.block.creole"
114
- }
115
- ]
116
- },
117
- "inline_raw": {
118
- "patterns": [
119
- {
120
- "match": "(\\{\\{\\{).*?(\\}\\}\\})",
121
- "captures": {
122
- "1": {
123
- "name": "punctuation.definition.raw.creole"
124
- },
125
- "2": {
126
- "name": "punctuation.definition.raw.creole"
127
- }
128
- },
129
- "name": "markup.raw.inline.creole"
130
- }
131
- ]
132
- },
133
- "link-inline": {
134
- "captures": {
135
- "1": {
136
- "name": "punctuation.definition.link.creole"
137
- },
138
- "2": {
139
- "name": "markup.underline.link.creole"
140
- },
141
- "4": {
142
- "name": "punctuation.definition.link.creole"
143
- },
144
- "5": {
145
- "name": "string.other.link.title.creole"
146
- },
147
- "6": {
148
- "name": "punctuation.definition.link.creole"
149
- }
150
- },
151
- "match": "(?x:\n\t\t\t\t(\\[\\[)\t\t\t\t\t\t# opening double square bracket\n\t\t\t\t(\\s*[^\\s\\|]+[^\\|]+?)\t\t# the url; anything except pipe (at least 1 not whitespace)\n\t\t\t\t((\\|)\t\t\t\t\t\t# pipe separator\n\t\t\t\t(\\s*[^\\|\\s]+[^\\|]+)\t\t\t# title text\n\t\t\t\t\t)?\t\t\t\t\t\t# pipe and title are optional\n\t\t\t\t(\\]\\])\t\t\t\t\t\t# close double square bracket (end link)\n\t\t\t )",
152
- "name": "meta.link.inline.creole"
153
- },
154
- "link-email": {
155
- "captures": {
156
- "1": {
157
- "name": "invalid.illegal.punctuation.link.creole"
158
- },
159
- "2": {
160
- "name": "markup.underline.link.creole"
161
- },
162
- "4": {
163
- "name": "invalid.illegal.punctuation.link.creole"
164
- }
165
- },
166
- "match": "(<)((?:mailto:)?[-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(>)",
167
- "name": "meta.link.email.lt-gt.creole"
168
- },
169
- "link-inet": {
170
- "captures": {
171
- "1": {
172
- "name": "invalid.illegal.punctuation.link.creole"
173
- },
174
- "2": {
175
- "name": "markup.underline.link.creole"
176
- },
177
- "3": {
178
- "name": "invalid.illegal.punctuation.link.creole"
179
- }
180
- },
181
- "match": "(<)?((?:https?|ftp)://[^\\s>]+)(>)?",
182
- "name": "meta.link.inet.creole"
183
- },
184
- "line-break": {
185
- "match": " *(\\\\\\\\){1} *",
186
- "name": "punctuation.definition.line-break.creole"
187
- },
188
- "image-inline": {
189
- "captures": {
190
- "1": {
191
- "name": "punctuation.definition.image.creole"
192
- },
193
- "2": {
194
- "name": "markup.underline.link.creole"
195
- },
196
- "4": {
197
- "name": "punctuation.definition.image.creole"
198
- },
199
- "5": {
200
- "name": "string.other.image.title.creole"
201
- },
202
- "6": {
203
- "name": "punctuation.definition.image.creole"
204
- }
205
- },
206
- "match": "(?x:\n\t\t\t\t(\\{\\{)\t\t\t\t\t\t# opening double curly bracket\n\t\t\t\t(\\s*[^\\s\\|]+[^\\|]+?)\t\t# the url; anything except pipe (at least 1 not whitespace)\n\t\t\t\t((\\|)\t\t\t\t\t\t# pipe separator\n\t\t\t\t(\\s*[^\\|\\s]+[^\\|]+)\t\t\t# title text\n\t\t\t\t\t)?\t\t\t\t\t\t# pipe and title are optional\n\t\t\t\t(\\}\\})\t\t\t\t\t\t# close double curly bracket (end image)\n\t\t\t )",
207
- "name": "meta.image.inline.creole"
208
- },
209
- "italic": {
210
- "begin": "(?x)\n\t\t\t\t\t\t(\\/\\/)(?=\\S)\t\t\t\t\t\t\t\t\t# opening //\n\t\t\t\t\t\t(?=\t\t\t\t\t\t\t\t\t\t\t\t# zero-width positive lookahead\n\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t <[^>]*+>\t\t\t\t\t\t# match any HTML tag\n\t\t\t\t\t\t\t | ~[\\\\*{}\\[\\]#\\|/>]?+\t\t\t\t\t# or escape characters\n\t\t\t\t\t\t\t | \\[\t\t\t\t\t\t\t\t\t\t# or literal [\n\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t (?<square>\t\t\t\t# named group\n\t\t\t\t\t\t\t\t\t\t\t[^\\[\\]~]\t\t\t\t\t# don't match these\n\t\t\t\t\t\t\t\t | ~.\t\t\t\t\t\t\t# or escaped characters\n\t\t\t\t\t\t\t\t | \\[ \\g<square>*+ \\]\t# or nested group\n\t\t\t\t\t\t\t\t )*+\n\t\t\t\t\t\t\t\t\t\\]\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t | (?!(?<=\\S)\\1).\t\t\t\t\t\t# or everything else\n\t\t\t\t\t\t\t)++\n\t\t\t\t\t\t\t(?<=\\S)\\1\t\t\t\t\t\t\t\t# closing //\n\t\t\t\t\t\t)\t\t\t\t\t\t\t\t\t\t\t\t# close positive lookahead\n\t\t\t\t\t",
211
- "captures": {
212
- "1": {
213
- "name": "punctuation.definition.italic.creole"
214
- }
215
- },
216
- "end": "(?<=\\S)(\\1)((?!\\1)|(?=\\1\\1))",
217
- "name": "markup.italic.creole",
218
- "patterns": [
219
- {
220
- "applyEndPatternLast": 1,
221
- "begin": "(?=<[^>]*?>)",
222
- "end": "(?<=>)",
223
- "patterns": [
224
- {
225
- "include": "text.html.basic"
226
- }
227
- ]
228
- },
229
- {
230
- "include": "#inline"
231
- }
232
- ]
233
- },
234
- "bold": {
235
- "begin": "(?x)\n\t\t\t\t\t\t(\\*\\*)(?=\\S)\t\t\t\t\t\t\t\t\t# opening **\n\t\t\t\t\t\t(?=\t\t\t\t\t\t\t\t\t\t\t\t# zero-width positive lookahead\n\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t <[^>]*+>\t\t\t\t\t\t# match any HTML tag\n\t\t\t\t\t\t\t | ~[\\\\*{}\\[\\]#\\|/>]?+\t\t\t\t\t# or escape characters\n\t\t\t\t\t\t\t | \\[\t\t\t\t\t\t\t\t\t\t# or literal [\n\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t (?<square>\t\t\t\t# named group\n\t\t\t\t\t\t\t\t\t\t\t[^\\[\\]~]\t\t\t\t\t# don't match these\n\t\t\t\t\t\t\t\t | ~.\t\t\t\t\t\t\t# or escaped characters\n\t\t\t\t\t\t\t\t | \\[ \\g<square>*+ \\]\t# or nested group\n\t\t\t\t\t\t\t\t )*+\n\t\t\t\t\t\t\t\t\t\\]\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t | (?!(?<=\\S)\\1).\t\t\t\t\t\t# or everything else\n\t\t\t\t\t\t\t)++\n\t\t\t\t\t\t\t(?<=\\S)\\1\t\t\t\t\t\t\t\t# closing **\n\t\t\t\t\t\t)\t\t\t\t\t\t\t\t\t\t\t\t# close positive lookahead\n\t\t\t\t\t",
236
- "captures": {
237
- "1": {
238
- "name": "punctuation.definition.bold.creole"
239
- }
240
- },
241
- "end": "(?<=\\S)(\\1)",
242
- "name": "markup.bold.creole",
243
- "patterns": [
244
- {
245
- "applyEndPatternLast": 1,
246
- "begin": "(?=<[^>]*?>)",
247
- "end": "(?<=>)",
248
- "patterns": [
249
- {
250
- "include": "text.html.basic"
251
- }
252
- ]
253
- },
254
- {
255
- "include": "#inline"
256
- }
257
- ]
258
- },
259
- "bracket": {
260
- "comment": "matched so it's not when converted to html",
261
- "match": "<(?![a-z/?\\$!])",
262
- "name": "meta.other.valid-bracket.creole"
263
- },
264
- "escape": {
265
- "match": "~[*#{}\\|\\[\\]\\\\/>]+",
266
- "name": "constant.character.escape.creole"
267
- },
268
- "ampersand": {
269
- "comment": "matched so it's not when converted to html",
270
- "match": "&(?!([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);)",
271
- "name": "meta.other.valid-ampersand.markdown"
272
- },
273
- "heading": {
274
- "begin": "\\G(={1,6})(?!=)\\s*(?=\\S)",
275
- "captures": {
276
- "1": {
277
- "name": "punctuation.definition.heading.creole"
278
- }
279
- },
280
- "contentName": "entity.name.section.creole",
281
- "end": "\\s*(=*) *$\\n?",
282
- "name": "markup.heading.creole",
283
- "patterns": [
284
- {
285
- "include": "#inline"
286
- }
287
- ]
288
- },
289
- "inline": {
290
- "patterns": [
291
- {
292
- "include": "#inline_raw"
293
- },
294
- {
295
- "include": "#link-inline"
296
- },
297
- {
298
- "include": "#link-inet"
299
- },
300
- {
301
- "include": "#link-email"
302
- },
303
- {
304
- "include": "#line-break"
305
- },
306
- {
307
- "include": "#image-inline"
308
- },
309
- {
310
- "include": "#italic"
311
- },
312
- {
313
- "include": "#bold"
314
- },
315
- {
316
- "include": "#escape"
317
- },
318
- {
319
- "include": "#bracket"
320
- },
321
- {
322
- "include": "#ampersand"
323
- }
324
- ]
325
- }
326
- },
327
- "scopeName": "text.html.creole",
328
- "uuid": "16e92828-eaa9-4cde-bc6c-a166adc48304"
329
- }