tm-grammars 1.25.2 → 1.25.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/grammars/bicep.json +83 -11
- package/index.js +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ import { grammars } from 'tm-grammars'
|
|
|
39
39
|
| `beancount` | | [Lencerf/vscode-beancount](https://github.com/Lencerf/vscode-beancount/blob/75fc29960fcf6666e4b06310fac4d49a16c57ca0/syntaxes/beancount.tmLanguage) | [MIT](https://raw.githubusercontent.com/Lencerf/vscode-beancount/master/LICENSE) | | | 9.90 kB |
|
|
40
40
|
| `berry` | `be` | [berry-lang/berry](https://github.com/berry-lang/berry/blob/a0f5c044a3b593deaf87292ca6f04c2343e53dc8/tools/plugins/vscode/skiars.berry-1.1.0/syntaxes/berry.json) | [MIT](https://raw.githubusercontent.com/berry-lang/berry/master/LICENSE) | | | 2.06 kB |
|
|
41
41
|
| `bibtex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9a2c94d213696a4453b6d9988b003d98e7646e75/extensions/latex/syntaxes/Bibtex.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 4.51 kB |
|
|
42
|
-
| `bicep` | | [Azure/bicep](https://github.com/Azure/bicep/blob/
|
|
42
|
+
| `bicep` | | [Azure/bicep](https://github.com/Azure/bicep/blob/6252abb94141fc6e774a53652404be30f1cb9000/src/textmate/bicep.tmlanguage) | [MIT](https://raw.githubusercontent.com/Azure/bicep/main/LICENSE) | | | 4.92 kB |
|
|
43
43
|
| `blade` | | [laravel/vs-code-extension](https://github.com/laravel/vs-code-extension/blob/fa52467b5f7393407c9acc9b95d3794f67e266da/syntaxes/blade.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/laravel/vs-code-extension/main/LICENSE.md) | | `html-derivative` `html` `xml` `sql` `javascript` `json` `css` | 98.91 kB |
|
|
44
44
|
| `bsl` | `1c` | [1c-syntax/vsc-language-1c-bsl](https://github.com/1c-syntax/vsc-language-1c-bsl/blob/2cde5a65a17b82b5363affadf5a620ebb0a026dc/syntaxes/1c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/1c-syntax/vsc-language-1c-bsl/develop/LICENSE.md) | | `sdbl` | 32.60 kB |
|
|
45
45
|
| `c` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/cpp/syntaxes/c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 67.93 kB |
|
package/grammars/bicep.json
CHANGED
|
@@ -82,7 +82,13 @@
|
|
|
82
82
|
"include": "#string-literal"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
"include": "#string
|
|
85
|
+
"include": "#multiline-string"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"include": "#multiline-string-1-interp"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"include": "#multiline-string-2-interp"
|
|
86
92
|
},
|
|
87
93
|
{
|
|
88
94
|
"include": "#numeric-literal"
|
|
@@ -164,6 +170,79 @@
|
|
|
164
170
|
"match": "//.*(?=$)",
|
|
165
171
|
"name": "comment.line.double-slash.bicep"
|
|
166
172
|
},
|
|
173
|
+
"multiline-1-string-subst": {
|
|
174
|
+
"begin": "(\\$\\{)",
|
|
175
|
+
"beginCaptures": {
|
|
176
|
+
"1": {
|
|
177
|
+
"name": "punctuation.definition.template-expression.begin.bicep"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"end": "(})",
|
|
181
|
+
"endCaptures": {
|
|
182
|
+
"1": {
|
|
183
|
+
"name": "punctuation.definition.template-expression.end.bicep"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"name": "meta.multiline-1-string-subst.bicep",
|
|
187
|
+
"patterns": [
|
|
188
|
+
{
|
|
189
|
+
"include": "#expression"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"include": "#comments"
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
"multiline-2-string-subst": {
|
|
197
|
+
"begin": "(\\$\\$\\{)",
|
|
198
|
+
"beginCaptures": {
|
|
199
|
+
"1": {
|
|
200
|
+
"name": "punctuation.definition.template-expression.begin.bicep"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"end": "(})",
|
|
204
|
+
"endCaptures": {
|
|
205
|
+
"1": {
|
|
206
|
+
"name": "punctuation.definition.template-expression.end.bicep"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"name": "meta.multiline-2-string-subst.bicep",
|
|
210
|
+
"patterns": [
|
|
211
|
+
{
|
|
212
|
+
"include": "#expression"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"include": "#comments"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"multiline-string": {
|
|
220
|
+
"begin": "'''",
|
|
221
|
+
"end": "'''(?!')",
|
|
222
|
+
"name": "string.quoted.multi.bicep",
|
|
223
|
+
"patterns": [
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"multiline-string-1-interp": {
|
|
227
|
+
"begin": "(?<!\\$)\\$'''",
|
|
228
|
+
"end": "'''(?!')",
|
|
229
|
+
"name": "string.quoted.multi.bicep",
|
|
230
|
+
"patterns": [
|
|
231
|
+
{
|
|
232
|
+
"include": "#multiline-1-string-subst"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
"multiline-string-2-interp": {
|
|
237
|
+
"begin": "\\$\\$'''",
|
|
238
|
+
"end": "'''(?!')",
|
|
239
|
+
"name": "string.quoted.multi.bicep",
|
|
240
|
+
"patterns": [
|
|
241
|
+
{
|
|
242
|
+
"include": "#multiline-2-string-subst"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
167
246
|
"named-literal": {
|
|
168
247
|
"match": "\\b(true|false|null)\\b",
|
|
169
248
|
"name": "constant.language.bicep"
|
|
@@ -201,11 +280,11 @@
|
|
|
201
280
|
"include": "#escape-character"
|
|
202
281
|
},
|
|
203
282
|
{
|
|
204
|
-
"include": "#string-
|
|
283
|
+
"include": "#string-subst"
|
|
205
284
|
}
|
|
206
285
|
]
|
|
207
286
|
},
|
|
208
|
-
"string-
|
|
287
|
+
"string-subst": {
|
|
209
288
|
"begin": "(?<!\\\\)(\\$\\{)",
|
|
210
289
|
"beginCaptures": {
|
|
211
290
|
"1": {
|
|
@@ -218,7 +297,7 @@
|
|
|
218
297
|
"name": "punctuation.definition.template-expression.end.bicep"
|
|
219
298
|
}
|
|
220
299
|
},
|
|
221
|
-
"name": "meta.string-
|
|
300
|
+
"name": "meta.string-subst.bicep",
|
|
222
301
|
"patterns": [
|
|
223
302
|
{
|
|
224
303
|
"include": "#expression"
|
|
@@ -227,13 +306,6 @@
|
|
|
227
306
|
"include": "#comments"
|
|
228
307
|
}
|
|
229
308
|
]
|
|
230
|
-
},
|
|
231
|
-
"string-verbatim": {
|
|
232
|
-
"begin": "'''",
|
|
233
|
-
"end": "'''(?!')",
|
|
234
|
-
"name": "string.quoted.multi.bicep",
|
|
235
|
-
"patterns": [
|
|
236
|
-
]
|
|
237
309
|
}
|
|
238
310
|
},
|
|
239
311
|
"scopeName": "source.bicep"
|
package/index.js
CHANGED
|
@@ -432,19 +432,19 @@ export const grammars = [
|
|
|
432
432
|
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/Bibtex.tmLanguage.json?ref=9a2c94d213696a4453b6d9988b003d98e7646e75',
|
|
433
433
|
},
|
|
434
434
|
{
|
|
435
|
-
byteSize:
|
|
435
|
+
byteSize: 5036,
|
|
436
436
|
displayName: 'Bicep',
|
|
437
437
|
funding: [
|
|
438
438
|
],
|
|
439
|
-
hash: '
|
|
440
|
-
lastUpdate: '2025-
|
|
439
|
+
hash: '19osAMNrYv-s1dkOn2eD4JU5jejqm-vJ218-Zi5vDf8',
|
|
440
|
+
lastUpdate: '2025-10-28T23:43:31Z',
|
|
441
441
|
license: 'MIT',
|
|
442
442
|
licenseUrl: 'https://raw.githubusercontent.com/Azure/bicep/main/LICENSE',
|
|
443
443
|
name: 'bicep',
|
|
444
444
|
scopeName: 'source.bicep',
|
|
445
|
-
sha: '
|
|
446
|
-
source: 'https://github.com/Azure/bicep/blob/
|
|
447
|
-
sourceApi: 'https://api.github.com/repos/Azure/bicep/contents/src/textmate/bicep.tmlanguage?ref=
|
|
445
|
+
sha: '6252abb94141fc6e774a53652404be30f1cb9000',
|
|
446
|
+
source: 'https://github.com/Azure/bicep/blob/6252abb94141fc6e774a53652404be30f1cb9000/src/textmate/bicep.tmlanguage',
|
|
447
|
+
sourceApi: 'https://api.github.com/repos/Azure/bicep/contents/src/textmate/bicep.tmlanguage?ref=6252abb94141fc6e774a53652404be30f1cb9000',
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
450
|
byteSize: 101282,
|