github-linguist 4.8.11 → 4.8.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,473 +1,440 @@
1
1
  {
2
- "name": "Puppet",
3
- "file_extensions": [
2
+ "fileTypes": [
4
3
  "pp"
5
4
  ],
6
- "scope": "source.puppet",
7
- "contexts": {
8
- "main": [
9
- {
10
- "include": "line_comment"
11
- },
12
- {
13
- "match": "^\\s*/\\*",
14
- "push": [
15
- {
16
- "meta_scope": "comment.block.puppet"
17
- },
18
- {
19
- "match": "\\*/",
20
- "pop": true
21
- }
22
- ]
5
+ "foldingStartMarker": "(^\\s*/\\*|(\\{|\\[|\\()\\s*$)",
6
+ "foldingStopMarker": "(\\*/|^\\s*(\\}|\\]|\\)))",
7
+ "keyEquivalent": "^~P",
8
+ "name": "Puppet",
9
+ "patterns": [
10
+ {
11
+ "include": "#line_comment"
12
+ },
13
+ {
14
+ "begin": "^\\s*/\\*",
15
+ "end": "\\*/",
16
+ "name": "comment.block.puppet"
17
+ },
18
+ {
19
+ "begin": "(?x)^\\s*\n\t\t\t\t\t(node|class)\\s+\n\t\t\t\t\t((?:[-_A-Za-z0-9\".]+::)*[-_A-Za-z0-9\".]+)\\s* # identifier",
20
+ "captures": {
21
+ "1": {
22
+ "name": "storage.type.puppet"
23
+ },
24
+ "2": {
25
+ "name": "entity.name.type.class.puppet"
26
+ }
23
27
  },
24
- {
25
- "match": "(?x)^\\s*\n(node|class)\\s+\n((?:[-_A-Za-z0-9\".]+::)*[-_A-Za-z0-9\".]+)\\s* # identifier",
26
- "captures": {
27
- "1": "storage.type.puppet",
28
- "2": "entity.name.type.class.puppet"
28
+ "end": "(?={)",
29
+ "name": "meta.definition.class.puppet",
30
+ "patterns": [
31
+ {
32
+ "include": "#variables"
33
+ },
34
+ {
35
+ "include": "#constants"
29
36
  },
30
- "push": [
31
- {
32
- "meta_scope": "meta.definition.class.puppet"
37
+ {
38
+ "include": "#strings"
39
+ },
40
+ {
41
+ "include": "#numbers"
42
+ },
43
+ {
44
+ "begin": "\\b(inherits)\\b\\s+",
45
+ "captures": {
46
+ "1": {
47
+ "name": "storage.modifier.puppet"
48
+ }
33
49
  },
34
- {
35
- "match": "(?={)",
36
- "captures": {
37
- "1": "storage.type.puppet",
38
- "2": "entity.name.type.class.puppet"
50
+ "end": "(?={)",
51
+ "name": "meta.definition.class.inherits.puppet",
52
+ "patterns": [
53
+ {
54
+ "match": "\\b((?:[-_A-Za-z0-9\".]+::)*[-_A-Za-z0-9\".]+)\\b",
55
+ "name": "support.type.puppet"
56
+ }
57
+ ]
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "begin": "^\\s*(define)\\s+([a-zA-Z0-9_:]+)\\s*(\\()",
63
+ "beginCaptures": {
64
+ "1": {
65
+ "name": "storage.type.function.puppet"
66
+ },
67
+ "2": {
68
+ "name": "entity.name.function.puppet"
69
+ },
70
+ "3": {
71
+ "name": "punctuation.definition.parameters.begin.puppet"
72
+ }
73
+ },
74
+ "contentName": "meta.function.arguments.puppet",
75
+ "end": "\\)",
76
+ "endCaptures": {
77
+ "1": {
78
+ "name": "punctuation.definition.parameters.end.puppet"
79
+ }
80
+ },
81
+ "name": "meta.function.puppet",
82
+ "patterns": [
83
+ {
84
+ "captures": {
85
+ "1": {
86
+ "name": "variable.other.puppet"
39
87
  },
40
- "pop": true
41
- },
42
- {
43
- "include": "constants"
44
- },
45
- {
46
- "include": "strings"
88
+ "2": {
89
+ "name": "punctuation.definition.variable.puppet"
90
+ }
47
91
  },
48
- {
49
- "match": "\\b(inherits)\\b\\s+",
50
- "captures": {
51
- "1": "storage.modifier.puppet"
52
- },
53
- "push": [
54
- {
55
- "meta_scope": "meta.definition.class.inherits.puppet"
56
- },
57
- {
58
- "match": "(?={)",
59
- "captures": {
60
- "1": "storage.modifier.puppet"
61
- },
62
- "pop": true
63
- },
64
- {
65
- "match": "\\b((?:[-_A-Za-z0-9\".]+::)*[-_A-Za-z0-9\".]+)\\b",
66
- "scope": "support.type.puppet"
67
- }
68
- ]
69
- }
70
- ]
71
- },
72
- {
73
- "match": "^\\s*(define)\\s+([a-zA-Z0-9_:]+)\\s*(\\()",
74
- "captures": {
75
- "1": "storage.type.function.puppet",
76
- "2": "entity.name.function.puppet",
77
- "3": "punctuation.definition.parameters.begin.puppet"
92
+ "match": "((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\\s*(?=,|\\))",
93
+ "name": "meta.function.argument.no-default.puppet"
78
94
  },
79
- "push": [
80
- {
81
- "meta_scope": "meta.function.puppet"
82
- },
83
- {
84
- "meta_content_scope": "meta.function.arguments.puppet"
85
- },
86
- {
87
- "match": "\\)",
88
- "captures": {
89
- "1": "punctuation.definition.parameters.end.puppet"
95
+ {
96
+ "begin": "((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(?:\\s*(=)\\s*)\\s*",
97
+ "captures": {
98
+ "1": {
99
+ "name": "variable.other.puppet"
90
100
  },
91
- "pop": true
92
- },
93
- {
94
- "match": "((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\\s*(?=,|\\))",
95
- "scope": "meta.function.argument.no-default.puppet",
96
- "captures": {
97
- "1": "variable.other.puppet",
98
- "2": "punctuation.definition.variable.puppet"
101
+ "2": {
102
+ "name": "punctuation.definition.variable.puppet"
103
+ },
104
+ "3": {
105
+ "name": "keyword.operator.assignment.puppet"
99
106
  }
100
107
  },
101
- {
102
- "match": "((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(?:\\s*(=)\\s*)\\s*",
103
- "captures": {
104
- "1": "variable.other.puppet",
105
- "2": "punctuation.definition.variable.puppet",
106
- "3": "keyword.operator.assignment.puppet"
107
- },
108
- "push": [
109
- {
110
- "meta_scope": "meta.function.argument.default.puppet"
111
- },
112
- {
113
- "match": "(?=,|\\))",
114
- "captures": {
115
- "1": "variable.other.puppet",
116
- "2": "punctuation.definition.variable.puppet",
117
- "3": "keyword.operator.assignment.puppet"
118
- },
119
- "pop": true
120
- },
121
- {
122
- "include": "parameter-default-types"
123
- }
124
- ]
125
- }
126
- ]
127
- },
128
- {
129
- "match": "^\\s*(\\w+)\\s*{\\s*(\\$[a-zA-Z_]+)\\s*:",
130
- "scope": "meta.definition.resource.puppet",
131
- "captures": {
132
- "1": "storage.type.puppet",
133
- "2": "entity.name.section.puppet"
108
+ "end": "(?=,|\\))",
109
+ "name": "meta.function.argument.default.puppet",
110
+ "patterns": [
111
+ {
112
+ "include": "#parameter-default-types"
113
+ }
114
+ ]
134
115
  }
135
- },
136
- {
137
- "match": "^\\s*(\\w+)\\s*{\\s*(['\"].+['\"])\\s*:",
138
- "scope": "meta.definition.resource.puppet",
139
- "captures": {
140
- "1": "storage.type.puppet",
141
- "2": "entity.name.section.puppet"
116
+ ]
117
+ },
118
+ {
119
+ "captures": {
120
+ "1": {
121
+ "name": "storage.type.puppet"
122
+ },
123
+ "2": {
124
+ "name": "entity.name.section.puppet"
142
125
  }
143
126
  },
144
- {
145
- "match": "\\b(case|if|unless|else|elsif)\\s+(?!::)",
146
- "scope": "keyword.control.puppet"
147
- },
148
- {
149
- "match": "((\\$?)\"?[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*\"?):(?=\\s+|$)",
150
- "scope": "entity.name.section.puppet"
151
- },
152
- {
153
- "include": "strings"
127
+ "match": "^\\s*(\\w+)\\s*{\\s*(['\"].+['\"]):",
128
+ "name": "meta.definition.resource.puppet"
129
+ },
130
+ {
131
+ "match": "\\b(case|if|unless|else|elsif)(?!::)",
132
+ "name": "keyword.control.puppet"
133
+ },
134
+ {
135
+ "match": "((\\$?)\"?[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*\"?):(?=\\s+|$)",
136
+ "name": "entity.name.section.puppet"
137
+ },
138
+ {
139
+ "include": "#strings"
140
+ },
141
+ {
142
+ "include": "#variable"
143
+ },
144
+ {
145
+ "include": "#constants"
146
+ },
147
+ {
148
+ "begin": "(?i)\\b(import|include)\\b\\s*",
149
+ "beginCaptures": {
150
+ "1": {
151
+ "name": "keyword.control.import.include.puppet"
152
+ }
154
153
  },
155
- {
156
- "include": "variable"
154
+ "end": "(?=\\s|$)",
155
+ "name": "meta.include.puppet"
156
+ },
157
+ {
158
+ "match": "\\b\\w+\\s*(?==>)\\s*",
159
+ "name": "constant.other.key.puppet"
160
+ },
161
+ {
162
+ "match": "(?<={)\\s*\\w+\\s*(?=})",
163
+ "name": "constant.other.bareword.puppet"
164
+ },
165
+ {
166
+ "match": "\\b(escape|gsub|alert|crit|debug|notice|defined|emerg|err|failed|file|generate|include|info|realize|search|tag|tagged|template|warning)\\b",
167
+ "name": "support.function.puppet"
168
+ }
169
+ ],
170
+ "repository": {
171
+ "constants": {
172
+ "patterns": [
173
+ {
174
+ "match": "(?i)\\b(false|true|running|undef|present|absent|file|directory)\\b",
175
+ "name": "constant.language.puppet"
176
+ }
177
+ ]
178
+ },
179
+ "double-quoted-string": {
180
+ "begin": "\"",
181
+ "beginCaptures": {
182
+ "0": {
183
+ "name": "punctuation.definition.string.begin.puppet"
184
+ }
157
185
  },
158
- {
159
- "include": "constants"
186
+ "end": "\"",
187
+ "endCaptures": {
188
+ "0": {
189
+ "name": "punctuation.definition.string.end.puppet"
190
+ }
160
191
  },
161
- {
162
- "match": "(?i)\\b(import|include|require)\\s+([::[a-z]]*)\\b\\s*",
163
- "captures": {
164
- "1": "keyword.control.import.include.puppet"
192
+ "name": "string.quoted.double.puppet",
193
+ "patterns": [
194
+ {
195
+ "include": "#escaped_char"
196
+ },
197
+ {
198
+ "include": "#variable"
199
+ }
200
+ ]
201
+ },
202
+ "escaped_char": {
203
+ "match": "\\\\.",
204
+ "name": "constant.character.escape.puppet"
205
+ },
206
+ "line_comment": {
207
+ "patterns": [
208
+ {
209
+ "captures": {
210
+ "1": {
211
+ "name": "comment.line.number-sign.puppet"
212
+ },
213
+ "2": {
214
+ "name": "punctuation.definition.comment.puppet"
215
+ }
216
+ },
217
+ "match": "^((#).*$\\n?)",
218
+ "name": "meta.comment.full-line.puppet"
165
219
  },
166
- "push": [
167
- {
168
- "meta_scope": "meta.include.puppet"
220
+ {
221
+ "captures": {
222
+ "1": {
223
+ "name": "punctuation.definition.comment.puppet"
224
+ }
169
225
  },
170
- {
171
- "match": "(?=\\s|$)",
172
- "pop": true
173
- }
174
- ]
226
+ "match": "(#).*$\\n?",
227
+ "name": "comment.line.number-sign.puppet"
228
+ }
229
+ ]
230
+ },
231
+ "nested_braces": {
232
+ "begin": "\\{",
233
+ "captures": {
234
+ "1": {
235
+ "name": "punctuation.section.scope.puppet"
236
+ }
175
237
  },
176
- {
177
- "match": "\\b\\w+\\s*(?==>)\\s*",
178
- "scope": "constant.other.key.puppet"
238
+ "end": "\\}",
239
+ "patterns": [
240
+ {
241
+ "include": "#escaped_char"
242
+ },
243
+ {
244
+ "include": "#nested_braces"
245
+ }
246
+ ]
247
+ },
248
+ "nested_braces_interpolated": {
249
+ "begin": "\\{",
250
+ "captures": {
251
+ "1": {
252
+ "name": "punctuation.section.scope.puppet"
253
+ }
179
254
  },
180
- {
181
- "match": "(?<={)\\s*\\w+\\s*(?=})",
182
- "scope": "constant.other.bareword.puppet"
255
+ "end": "\\}",
256
+ "patterns": [
257
+ {
258
+ "include": "#escaped_char"
259
+ },
260
+ {
261
+ "include": "#variable"
262
+ },
263
+ {
264
+ "include": "#nested_braces_interpolated"
265
+ }
266
+ ]
267
+ },
268
+ "nested_brackets": {
269
+ "begin": "\\[",
270
+ "captures": {
271
+ "1": {
272
+ "name": "punctuation.section.scope.puppet"
273
+ }
183
274
  },
184
- {
185
- "match": "\\b(escape|gsub|alert|crit|debug|notice|defined|emerg|err|failed|file|generate|info|realize|search|tag|tagged|template|warning)\\b",
186
- "scope": "support.function.puppet"
187
- }
188
- ],
189
- "constants": [
190
- {
191
- "match": "(?i)\\b(false|true|running|undef|present|absent|file|directory|installed|running|stopped)\\b",
192
- "scope": "constant.language.puppet"
193
- }
194
- ],
195
- "double-quoted-string": [
196
- {
197
- "match": "\"",
198
- "captures": {
199
- "0": "punctuation.definition.string.begin.puppet"
275
+ "end": "\\]",
276
+ "patterns": [
277
+ {
278
+ "include": "#escaped_char"
200
279
  },
201
- "push": [
202
- {
203
- "meta_scope": "string.quoted.double.puppet"
204
- },
205
- {
206
- "match": "\"",
207
- "captures": {
208
- "0": "punctuation.definition.string.end.puppet"
209
- },
210
- "pop": true
211
- },
212
- {
213
- "include": "escaped_char"
214
- },
215
- {
216
- "include": "variable"
217
- }
218
- ]
219
- }
220
- ],
221
- "escaped_char": [
222
- {
223
- "match": "\\\\.",
224
- "scope": "constant.character.escape.puppet"
225
- }
226
- ],
227
- "line_comment": [
228
- {
229
- "match": "^((#).*$\\n?)",
230
- "scope": "meta.comment.full-line.puppet",
231
- "captures": {
232
- "1": "comment.line.number-sign.puppet",
233
- "2": "punctuation.definition.comment.puppet"
280
+ {
281
+ "include": "#nested_brackets"
282
+ }
283
+ ]
284
+ },
285
+ "nested_brackets_interpolated": {
286
+ "begin": "\\[",
287
+ "captures": {
288
+ "1": {
289
+ "name": "punctuation.section.scope.puppet"
234
290
  }
235
291
  },
236
- {
237
- "match": "(#).*$\\n?",
238
- "scope": "comment.line.number-sign.puppet",
239
- "captures": {
240
- "1": "punctuation.definition.comment.puppet"
292
+ "end": "\\]",
293
+ "patterns": [
294
+ {
295
+ "include": "#escaped_char"
296
+ },
297
+ {
298
+ "include": "#variable"
299
+ },
300
+ {
301
+ "include": "#nested_brackets_interpolated"
302
+ }
303
+ ]
304
+ },
305
+ "nested_parens": {
306
+ "begin": "\\(",
307
+ "captures": {
308
+ "1": {
309
+ "name": "punctuation.section.scope.puppet"
241
310
  }
242
- }
243
- ],
244
- "nested_braces": [
245
- {
246
- "match": "\\{",
247
- "captures": {
248
- "1": "punctuation.section.scope.puppet"
311
+ },
312
+ "end": "\\)",
313
+ "patterns": [
314
+ {
315
+ "include": "#escaped_char"
249
316
  },
250
- "push": [
251
- {
252
- "match": "\\}",
253
- "captures": {
254
- "1": "punctuation.section.scope.puppet"
255
- },
256
- "pop": true
257
- },
258
- {
259
- "include": "escaped_char"
260
- },
261
- {
262
- "include": "nested_braces"
263
- }
264
- ]
265
- }
266
- ],
267
- "nested_braces_interpolated": [
268
- {
269
- "match": "\\{",
270
- "captures": {
271
- "1": "punctuation.section.scope.puppet"
317
+ {
318
+ "include": "#nested_parens"
319
+ }
320
+ ]
321
+ },
322
+ "nested_parens_interpolated": {
323
+ "begin": "\\(",
324
+ "captures": {
325
+ "1": {
326
+ "name": "punctuation.section.scope.puppet"
327
+ }
328
+ },
329
+ "end": "\\)",
330
+ "patterns": [
331
+ {
332
+ "include": "#escaped_char"
272
333
  },
273
- "push": [
274
- {
275
- "match": "\\}",
276
- "captures": {
277
- "1": "punctuation.section.scope.puppet"
278
- },
279
- "pop": true
280
- },
281
- {
282
- "include": "escaped_char"
283
- },
284
- {
285
- "include": "variable"
286
- },
287
- {
288
- "include": "nested_braces_interpolated"
289
- }
290
- ]
291
- }
292
- ],
293
- "nested_brackets": [
294
- {
295
- "match": "\\[",
296
- "captures": {
297
- "1": "punctuation.section.scope.puppet"
334
+ {
335
+ "include": "#variable"
298
336
  },
299
- "push": [
300
- {
301
- "match": "\\]",
302
- "captures": {
303
- "1": "punctuation.section.scope.puppet"
304
- },
305
- "pop": true
306
- },
307
- {
308
- "include": "escaped_char"
309
- },
310
- {
311
- "include": "nested_brackets"
312
- }
313
- ]
314
- }
315
- ],
316
- "nested_brackets_interpolated": [
317
- {
318
- "match": "\\[",
319
- "captures": {
320
- "1": "punctuation.section.scope.puppet"
337
+ {
338
+ "include": "#nested_parens_interpolated"
339
+ }
340
+ ]
341
+ },
342
+ "parameter-default-types": {
343
+ "patterns": [
344
+ {
345
+ "include": "#strings"
321
346
  },
322
- "push": [
323
- {
324
- "match": "\\]",
325
- "captures": {
326
- "1": "punctuation.section.scope.puppet"
327
- },
328
- "pop": true
329
- },
330
- {
331
- "include": "escaped_char"
332
- },
333
- {
334
- "include": "variable"
335
- },
336
- {
337
- "include": "nested_brackets_interpolated"
338
- }
339
- ]
340
- }
341
- ],
342
- "nested_parens": [
343
- {
344
- "match": "\\(",
345
- "captures": {
346
- "1": "punctuation.section.scope.puppet"
347
+ {
348
+ "include": "#numbers"
347
349
  },
348
- "push": [
349
- {
350
- "match": "\\)",
351
- "captures": {
352
- "1": "punctuation.section.scope.puppet"
353
- },
354
- "pop": true
355
- },
356
- {
357
- "include": "escaped_char"
358
- },
359
- {
360
- "include": "nested_parens"
361
- }
362
- ]
363
- }
364
- ],
365
- "nested_parens_interpolated": [
366
- {
367
- "match": "\\(",
368
- "captures": {
369
- "1": "punctuation.section.scope.puppet"
350
+ {
351
+ "include": "#variables"
370
352
  },
371
- "push": [
372
- {
373
- "match": "\\)",
374
- "captures": {
375
- "1": "punctuation.section.scope.puppet"
376
- },
377
- "pop": true
378
- },
379
- {
380
- "include": "escaped_char"
353
+ {
354
+ "match": "=",
355
+ "name": "keyword.operator.assignment.php"
356
+ },
357
+ {
358
+ "begin": "(\\[)",
359
+ "beginCaptures": {
360
+ "1": {
361
+ "name": "punctuation.definition.array.begin.puppet"
362
+ }
381
363
  },
382
- {
383
- "include": "variable"
364
+ "end": "\\]",
365
+ "endCaptures": {
366
+ "0": {
367
+ "name": "punctuation.definition.array.end.puppet"
368
+ }
384
369
  },
385
- {
386
- "include": "nested_parens_interpolated"
387
- }
388
- ]
389
- }
390
- ],
391
- "parameter-default-types": [
392
- {
393
- "include": "strings"
370
+ "name": "meta.array.php",
371
+ "patterns": [
372
+ {
373
+ "include": "#parameter-default-types"
374
+ }
375
+ ]
376
+ },
377
+ {
378
+ "include": "#constants"
379
+ }
380
+ ]
381
+ },
382
+ "single-quoted-string": {
383
+ "begin": "'",
384
+ "beginCaptures": {
385
+ "0": {
386
+ "name": "punctuation.definition.string.begin.puppet"
387
+ }
394
388
  },
395
- {
396
- "match": "=",
397
- "scope": "keyword.operator.assignment.php"
389
+ "end": "'",
390
+ "endCaptures": {
391
+ "0": {
392
+ "name": "punctuation.definition.string.end.puppet"
393
+ }
398
394
  },
399
- {
400
- "match": "(\\[)",
401
- "captures": {
402
- "1": "punctuation.definition.array.begin.puppet"
395
+ "name": "string.quoted.single.puppet",
396
+ "patterns": [
397
+ {
398
+ "include": "#escaped_char"
399
+ }
400
+ ]
401
+ },
402
+ "strings": {
403
+ "patterns": [
404
+ {
405
+ "include": "#double-quoted-string"
403
406
  },
404
- "push": [
405
- {
406
- "meta_scope": "meta.array.php"
407
- },
408
- {
409
- "match": "\\]",
410
- "captures": {
411
- "0": "punctuation.definition.array.end.puppet"
412
- },
413
- "pop": true
407
+ {
408
+ "include": "#single-quoted-string"
409
+ }
410
+ ]
411
+ },
412
+ "variable": {
413
+ "patterns": [
414
+ {
415
+ "captures": {
416
+ "1": {
417
+ "name": "punctuation.definition.variable.puppet"
418
+ }
414
419
  },
415
- {
416
- "include": "parameter-default-types"
417
- }
418
- ]
419
- },
420
- {
421
- "include": "constants"
422
- }
423
- ],
424
- "single-quoted-string": [
425
- {
426
- "match": "'",
427
- "captures": {
428
- "0": "punctuation.definition.string.begin.puppet"
420
+ "match": "(\\$)([a-zA-Zx7f-xff\\$]|::)([a-zA-Z0-9_x7f-xff\\$]|::)*\\b",
421
+ "name": "variable.other.readwrite.global.puppet"
429
422
  },
430
- "push": [
431
- {
432
- "meta_scope": "string.quoted.single.puppet"
433
- },
434
- {
435
- "match": "'",
436
- "captures": {
437
- "0": "punctuation.definition.string.end.puppet"
423
+ {
424
+ "captures": {
425
+ "1": {
426
+ "name": "punctuation.definition.variable.puppet"
438
427
  },
439
- "pop": true
428
+ "2": {
429
+ "name": "punctuation.definition.variable.puppet"
430
+ }
440
431
  },
441
- {
442
- "include": "escaped_char"
443
- }
444
- ]
445
- }
446
- ],
447
- "strings": [
448
- {
449
- "include": "double-quoted-string"
450
- },
451
- {
452
- "include": "single-quoted-string"
453
- }
454
- ],
455
- "variable": [
456
- {
457
- "match": "(\\$)([a-zA-Zx7f-xff\\$]|::)([a-zA-Z0-9_x7f-xff\\$]|::)*\\b",
458
- "scope": "variable.other.readwrite.global.puppet",
459
- "captures": {
460
- "1": "punctuation.definition.variable.puppet"
461
- }
462
- },
463
- {
464
- "match": "(\\$\\{)(?:[a-zA-Zx7f-xff\\$]|::)(?:[a-zA-Z0-9_x7f-xff\\$]|::)*(\\})",
465
- "scope": "variable.other.readwrite.global.puppet",
466
- "captures": {
467
- "1": "punctuation.definition.variable.puppet",
468
- "2": "punctuation.definition.variable.puppet"
432
+ "match": "(\\$\\{)(?:[a-zA-Zx7f-xff\\$]|::)(?:[a-zA-Z0-9_x7f-xff\\$]|::)*(\\})",
433
+ "name": "variable.other.readwrite.global.puppet"
469
434
  }
470
- }
471
- ]
472
- }
435
+ ]
436
+ }
437
+ },
438
+ "scopeName": "source.puppet",
439
+ "uuid": "AAF4E089-E3C9-4FB9-B099-FD2CCBD4E786"
473
440
  }