tm-grammars 1.0.12 → 1.0.14
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 +2 -2
- package/grammars/beancount.json +5 -79
- package/grammars/mdx.json +2 -2
- package/index.js +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ import { grammars } from 'tm-grammars'
|
|
|
35
35
|
| `awk` | | [luggage66/vscode-awk](https://github.com/luggage66/vscode-awk/blob/eff8c0f160ae16592c8d9963fd77046137fd2612/syntaxes/awk.tmLanguage) | [MIT](https://raw.githubusercontent.com/luggage66/vscode-awk/master/LICENSE.txt) | | 5.18 kB |
|
|
36
36
|
| `ballerina` | | [ballerina-platform/ballerina-grammar](https://github.com/ballerina-platform/ballerina-grammar/blob/42ddcc1c63c86bdd6ba712e86bf965f5063831d3/syntaxes/ballerina.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/ballerina-platform/ballerina-grammar/master/LICENSE) | | 57.97 kB |
|
|
37
37
|
| `bat` | `batch` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/df15c8e832a341633acd2e9bb26e1b275d09cfe0/extensions/bat/syntaxes/batchfile.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 12.38 kB |
|
|
38
|
-
| `beancount` | | [Lencerf/vscode-beancount](https://github.com/Lencerf/vscode-beancount/blob/
|
|
38
|
+
| `beancount` | | [Lencerf/vscode-beancount](https://github.com/Lencerf/vscode-beancount/blob/ffc762e047bb09ed5d16508b302aef16a6057139/syntaxes/beancount.tmLanguage) | [MIT](https://raw.githubusercontent.com/Lencerf/vscode-beancount/master/LICENSE) | | 10.19 kB |
|
|
39
39
|
| `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.12 kB |
|
|
40
40
|
| `bibtex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6021e0179514df6de02f91174ff7f9c5f6c87fd1/extensions/latex/syntaxes/Bibtex.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 4.68 kB |
|
|
41
41
|
| `bicep` | | [Azure/bicep](https://github.com/Azure/bicep/blob/7d38437196bf9ad16c8401ffbb6406eea8457ed5/src/textmate/bicep.tmlanguage) | [MIT](https://raw.githubusercontent.com/Azure/bicep/main/LICENSE) | | 3.94 kB |
|
|
@@ -116,7 +116,7 @@ import { grammars } from 'tm-grammars'
|
|
|
116
116
|
| `marko` | | [marko-js/marko-tmbundle](https://github.com/marko-js/marko-tmbundle/blob/dd3a0c39e656bedd276d3bcbdea92a2d627755c7/Syntaxes/marko.tmLanguage) | [MIT](https://raw.githubusercontent.com/marko-js/marko-tmbundle/master/LICENSE) | `css` `less` `scss` `javascript` | 18.57 kB |
|
|
117
117
|
| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | 20.77 kB |
|
|
118
118
|
| `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/6294dbce9706f538a521e7dccce9609e928dc3be/syntaxes/mdc.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | `markdown` `yaml` | 19.95 kB |
|
|
119
|
-
| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/
|
|
119
|
+
| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/371d61df9ddc3850e12aabe61b602d02e259e8a4/source.mdx.tmLanguage) | [MIT](https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license) | `tsx` `toml` `yaml` `c` `clojure` `coffee` `cpp` `csharp` `css` `diff` `docker` `elixir` `elm` `erlang` `go` `graphql` `haskell` `html` `ini` `java` `javascript` `json` `julia` `kotlin` `less` `lua` `make` `markdown` `objective-c` `perl` `python` `r` `ruby` `rust` `scala` `scss` `shellscript` `shellsession` `sql` `xml` `swift` `typescript` | 120.76 kB |
|
|
120
120
|
| `mermaid` | | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | | 19.88 kB |
|
|
121
121
|
| `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/a2241dda06d9a20503394c3affa606114d007049/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE) | | 75.20 kB |
|
|
122
122
|
| `narrat` | `nar` | [liana-p/narrat-syntax-highlighting-vscode](https://github.com/liana-p/narrat-syntax-highlighting-vscode/blob/00d4b410338fc50ca0ce77a1f7e873c1fb66d376/syntaxes/narrat.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/liana-p/narrat-syntax-highlighting-vscode/main/LICENSE) | | 3.62 kB |
|
package/grammars/beancount.json
CHANGED
|
@@ -292,80 +292,6 @@
|
|
|
292
292
|
}
|
|
293
293
|
]
|
|
294
294
|
},
|
|
295
|
-
{
|
|
296
|
-
"begin": "([0-9]{4})([\\-|/])([0-9]{2})([\\-|/])([0-9]{2})\\s+(note)(?=(.*\\*\\\"\\s))",
|
|
297
|
-
"beginCaptures": {
|
|
298
|
-
"1": {
|
|
299
|
-
"name": "constant.numeric.date.year.beancount"
|
|
300
|
-
},
|
|
301
|
-
"2": {
|
|
302
|
-
"name": "punctuation.separator.beancount"
|
|
303
|
-
},
|
|
304
|
-
"3": {
|
|
305
|
-
"name": "constant.numeric.date.month.beancount"
|
|
306
|
-
},
|
|
307
|
-
"4": {
|
|
308
|
-
"name": "punctuation.separator.beancount"
|
|
309
|
-
},
|
|
310
|
-
"5": {
|
|
311
|
-
"name": "constant.numeric.date.day.beancount"
|
|
312
|
-
},
|
|
313
|
-
"6": {
|
|
314
|
-
"name": "support.function.directive.beancount"
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
"comment": "Note as Oneliner Transaction directive",
|
|
318
|
-
"end": "(?=(^\\s*$|^\\S))",
|
|
319
|
-
"name": "meta.directive.notetotext.beancount",
|
|
320
|
-
"patterns": [
|
|
321
|
-
{
|
|
322
|
-
"include": "#meta"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"include": "#account"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"match": "(?<=\\s)\\\"",
|
|
329
|
-
"name": "punctuation.separator.beancount"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"include": "#cost"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"include": "#amount"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"begin": "(\\*|\\!)",
|
|
339
|
-
"beginCaptures": {
|
|
340
|
-
"0": {
|
|
341
|
-
"name": "support.function.directive.beancount"
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
"end": "(\\*\\\")",
|
|
345
|
-
"endCaptures": {
|
|
346
|
-
"0": {
|
|
347
|
-
"name": "punctuation.separator.beancount"
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
"patterns": [
|
|
351
|
-
{
|
|
352
|
-
"match": "\\\\.",
|
|
353
|
-
"name": "constant.character.escape.beancount"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"include": "#tag"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"match": "([^\\\"])",
|
|
360
|
-
"name": "string.quoted.double.beancount"
|
|
361
|
-
}
|
|
362
|
-
]
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"include": "#illegal"
|
|
366
|
-
}
|
|
367
|
-
]
|
|
368
|
-
},
|
|
369
295
|
{
|
|
370
296
|
"begin": "([0-9]{4})([\\-|/])([0-9]{2})([\\-|/])([0-9]{2})\\s(note|document)",
|
|
371
297
|
"beginCaptures": {
|
|
@@ -553,7 +479,7 @@
|
|
|
553
479
|
"begin": "([A-Z][a-z]+)(:)",
|
|
554
480
|
"beginCaptures": {
|
|
555
481
|
"1": {
|
|
556
|
-
"name": "
|
|
482
|
+
"name": "variable.language.beancount"
|
|
557
483
|
},
|
|
558
484
|
"2": {
|
|
559
485
|
"name": "punctuation.separator.beancount"
|
|
@@ -566,7 +492,7 @@
|
|
|
566
492
|
"begin": "(\\S+)([:]?)",
|
|
567
493
|
"beginCaptures": {
|
|
568
494
|
"1": {
|
|
569
|
-
"name": "variable.account.beancount"
|
|
495
|
+
"name": "variable.other.account.beancount"
|
|
570
496
|
},
|
|
571
497
|
"2": {
|
|
572
498
|
"name": "punctuation.separator.beancount"
|
|
@@ -594,7 +520,7 @@
|
|
|
594
520
|
"name": "constant.numeric.currency.beancount"
|
|
595
521
|
},
|
|
596
522
|
"3": {
|
|
597
|
-
"name": "entity.type.commodity.beancount"
|
|
523
|
+
"name": "entity.name.type.commodity.beancount"
|
|
598
524
|
}
|
|
599
525
|
},
|
|
600
526
|
"match": "([\\-|\\+]?)(\\d+(?:,\\d{3})*(?:\\.\\d*)?)\\s*([A-Z][A-Z0-9\\'\\.\\_\\-]{0,22}[A-Z0-9])",
|
|
@@ -609,7 +535,7 @@
|
|
|
609
535
|
"name": "constant.numeric.currency.beancount"
|
|
610
536
|
},
|
|
611
537
|
"3": {
|
|
612
|
-
"name": "entity.type.commodity.beancount"
|
|
538
|
+
"name": "entity.name.type.commodity.beancount"
|
|
613
539
|
}
|
|
614
540
|
},
|
|
615
541
|
"match": "TRUE|FALSE"
|
|
@@ -624,7 +550,7 @@
|
|
|
624
550
|
},
|
|
625
551
|
"commodity": {
|
|
626
552
|
"match": "([A-Z][A-Z0-9\\'\\.\\_\\-]{0,22}[A-Z0-9])",
|
|
627
|
-
"name": "entity.type.commodity.beancount"
|
|
553
|
+
"name": "entity.name.type.commodity.beancount"
|
|
628
554
|
},
|
|
629
555
|
"cost": {
|
|
630
556
|
"begin": "\\{\\{?",
|
package/grammars/mdx.json
CHANGED
|
@@ -5161,7 +5161,7 @@
|
|
|
5161
5161
|
},
|
|
5162
5162
|
"extension-gfm-table": {
|
|
5163
5163
|
"begin": "(?:^|\\G)[\\t ]*(?=\\|[^\\n\\r]+\\|[ \\t]*$)",
|
|
5164
|
-
"end": "^(?=[\\t ]*$)",
|
|
5164
|
+
"end": "^(?=[\\t ]*$)|$",
|
|
5165
5165
|
"patterns": [
|
|
5166
5166
|
{
|
|
5167
5167
|
"captures": {
|
|
@@ -5284,7 +5284,7 @@
|
|
|
5284
5284
|
},
|
|
5285
5285
|
"extension-mdx-esm": {
|
|
5286
5286
|
"begin": "(?:^|\\G)(?=(?i:export|import)[ ])",
|
|
5287
|
-
"end": "^(?=[\\t ]*$)",
|
|
5287
|
+
"end": "^(?=[\\t ]*$)|$",
|
|
5288
5288
|
"name": "meta.embedded.tsx",
|
|
5289
5289
|
"patterns": [
|
|
5290
5290
|
{
|
package/index.js
CHANGED
|
@@ -217,15 +217,15 @@ export const grammars = [
|
|
|
217
217
|
source: 'https://github.com/microsoft/vscode/blob/df15c8e832a341633acd2e9bb26e1b275d09cfe0/extensions/bat/syntaxes/batchfile.tmLanguage.json',
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
|
-
byteSize:
|
|
220
|
+
byteSize: 10430,
|
|
221
221
|
displayName: 'Beancount',
|
|
222
|
-
lastUpdate: '
|
|
222
|
+
lastUpdate: '2024-01-11T08:43:22Z',
|
|
223
223
|
license: 'MIT',
|
|
224
224
|
licenseUrl: 'https://raw.githubusercontent.com/Lencerf/vscode-beancount/master/LICENSE',
|
|
225
225
|
name: 'beancount',
|
|
226
226
|
scopeName: 'text.beancount',
|
|
227
|
-
sha: '
|
|
228
|
-
source: 'https://github.com/Lencerf/vscode-beancount/blob/
|
|
227
|
+
sha: 'ffc762e047bb09ed5d16508b302aef16a6057139',
|
|
228
|
+
source: 'https://github.com/Lencerf/vscode-beancount/blob/ffc762e047bb09ed5d16508b302aef16a6057139/syntaxes/beancount.tmLanguage',
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
231
|
aliases: [
|
|
@@ -1533,7 +1533,7 @@ export const grammars = [
|
|
|
1533
1533
|
source: 'https://github.com/nuxtlabs/vscode-mdc/blob/6294dbce9706f538a521e7dccce9609e928dc3be/syntaxes/mdc.tmLanguage.json',
|
|
1534
1534
|
},
|
|
1535
1535
|
{
|
|
1536
|
-
byteSize:
|
|
1536
|
+
byteSize: 123658,
|
|
1537
1537
|
categories: [
|
|
1538
1538
|
'web',
|
|
1539
1539
|
'markup',
|
|
@@ -1583,13 +1583,13 @@ export const grammars = [
|
|
|
1583
1583
|
'swift',
|
|
1584
1584
|
'typescript',
|
|
1585
1585
|
],
|
|
1586
|
-
lastUpdate: '
|
|
1586
|
+
lastUpdate: '2024-01-11T16:40:19Z',
|
|
1587
1587
|
license: 'MIT',
|
|
1588
1588
|
licenseUrl: 'https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license',
|
|
1589
1589
|
name: 'mdx',
|
|
1590
1590
|
scopeName: 'source.mdx',
|
|
1591
|
-
sha: '
|
|
1592
|
-
source: 'https://github.com/wooorm/markdown-tm-language/blob/
|
|
1591
|
+
sha: '371d61df9ddc3850e12aabe61b602d02e259e8a4',
|
|
1592
|
+
source: 'https://github.com/wooorm/markdown-tm-language/blob/371d61df9ddc3850e12aabe61b602d02e259e8a4/source.mdx.tmLanguage',
|
|
1593
1593
|
},
|
|
1594
1594
|
{
|
|
1595
1595
|
byteSize: 20353,
|
package/package.json
CHANGED