tm-grammars 1.0.11 → 1.0.13
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 +4 -4
- package/grammars/beancount.json +5 -5
- package/grammars/go.json +2395 -743
- package/grammars/mdx.json +2 -2
- package/index.js +15 -15
- 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/2c0dd2128f1099e124d6dd05fe21d5a5adee39e2/syntaxes/beancount.tmLanguage) | [MIT](https://raw.githubusercontent.com/Lencerf/vscode-beancount/master/LICENSE) | | 11.21 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 |
|
|
@@ -77,7 +77,7 @@ import { grammars } from 'tm-grammars'
|
|
|
77
77
|
| `glimmer-ts` | `gts` | [IgnaceMaes/glimmer-textmate-grammar](https://github.com/IgnaceMaes/glimmer-textmate-grammar/blob/1d2850817ee189b5c7e83f02a60b7143e3cd099c/glimmer-ts.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/IgnaceMaes/glimmer-textmate-grammar/main/LICENSE) | `typescript` `handlebars` | 1.27 kB |
|
|
78
78
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB |
|
|
79
79
|
| `gnuplot` | | [MarioSchwalbe/vscode-gnuplot](https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/MarioSchwalbe/vscode-gnuplot/master/LICENSE) | | 20.52 kB |
|
|
80
|
-
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
80
|
+
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6d9541fff6fb49325e06ecb01f95e56f93963723/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 40.24 kB |
|
|
81
81
|
| `graphql` | `gql` | [prisma-labs/vscode-graphql](https://github.com/prisma-labs/vscode-graphql/blob/4569aef2364b42b6acd8188e4a6ca9b0ba3c6a1d/grammars/graphql.json) | [MIT](https://raw.githubusercontent.com/graphql/vscode-graphql/master/LICENSE) | `javascript` `typescript` `jsx` `tsx` | 17.11 kB |
|
|
82
82
|
| `groovy` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 19.47 kB |
|
|
83
83
|
| `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/b997653188b127a7261b0d26e7808217f3eb47bb/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | `html` `sql` | 80.92 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 |
|
|
@@ -179,7 +179,7 @@ import { grammars } from 'tm-grammars'
|
|
|
179
179
|
| `twig` | | [mblode/vscode-twig-language-2](https://github.com/mblode/vscode-twig-language-2/blob/82ae07ffe96656181ad8265c1fff008c8d1cdbba/src/syntaxes/twig.tmLanguage) | [MIT](https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md) | `css` `javascript` `scss` `php` `python` `ruby` | 21.47 kB |
|
|
180
180
|
| `typescript` | `ts` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c778cc6117ba3b243a8e2321b4cf33062546e312/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 188.59 kB |
|
|
181
181
|
| `v` | | [vlang/vscode-vlang](https://github.com/vlang/vscode-vlang/blob/b1f529602bc6536ad8967373302e151e77179598/syntaxes/v.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vlang/vscode-vlang/master/LICENSE) | | 12.76 kB |
|
|
182
|
-
| `vb` | `cmd` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
182
|
+
| `vb` | `cmd` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/0a71ec927ce51ef5cc43d3c7af1da4961c9371e0/extensions/vb/syntaxes/asp-vb-net.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 5.84 kB |
|
|
183
183
|
| `verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/5963f70745bac638a96431176d39c688b35e8b59/syntaxes/verilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 5.55 kB |
|
|
184
184
|
| `vhdl` | | [jonasjj/awesome-vhdl](https://github.com/jonasjj/awesome-vhdl/blob/0d0a052da44f64382314ba90a321a83022e5c11a/syntaxes/vhdl.tmLanguage) | [MIT](https://raw.githubusercontent.com/jonasjj/awesome-vhdl/master/LICENSE.txt) | | 33.26 kB |
|
|
185
185
|
| `viml` | `vim` `vimscript` | [dunstontc/viml](https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dunstontc/viml/master/LICENSE) | | 20.19 kB |
|
package/grammars/beancount.json
CHANGED
|
@@ -553,7 +553,7 @@
|
|
|
553
553
|
"begin": "([A-Z][a-z]+)(:)",
|
|
554
554
|
"beginCaptures": {
|
|
555
555
|
"1": {
|
|
556
|
-
"name": "
|
|
556
|
+
"name": "variable.language.beancount"
|
|
557
557
|
},
|
|
558
558
|
"2": {
|
|
559
559
|
"name": "punctuation.separator.beancount"
|
|
@@ -566,7 +566,7 @@
|
|
|
566
566
|
"begin": "(\\S+)([:]?)",
|
|
567
567
|
"beginCaptures": {
|
|
568
568
|
"1": {
|
|
569
|
-
"name": "variable.account.beancount"
|
|
569
|
+
"name": "variable.other.account.beancount"
|
|
570
570
|
},
|
|
571
571
|
"2": {
|
|
572
572
|
"name": "punctuation.separator.beancount"
|
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
"name": "constant.numeric.currency.beancount"
|
|
595
595
|
},
|
|
596
596
|
"3": {
|
|
597
|
-
"name": "entity.type.commodity.beancount"
|
|
597
|
+
"name": "entity.name.type.commodity.beancount"
|
|
598
598
|
}
|
|
599
599
|
},
|
|
600
600
|
"match": "([\\-|\\+]?)(\\d+(?:,\\d{3})*(?:\\.\\d*)?)\\s*([A-Z][A-Z0-9\\'\\.\\_\\-]{0,22}[A-Z0-9])",
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
"name": "constant.numeric.currency.beancount"
|
|
610
610
|
},
|
|
611
611
|
"3": {
|
|
612
|
-
"name": "entity.type.commodity.beancount"
|
|
612
|
+
"name": "entity.name.type.commodity.beancount"
|
|
613
613
|
}
|
|
614
614
|
},
|
|
615
615
|
"match": "TRUE|FALSE"
|
|
@@ -624,7 +624,7 @@
|
|
|
624
624
|
},
|
|
625
625
|
"commodity": {
|
|
626
626
|
"match": "([A-Z][A-Z0-9\\'\\.\\_\\-]{0,22}[A-Z0-9])",
|
|
627
|
-
"name": "entity.type.commodity.beancount"
|
|
627
|
+
"name": "entity.name.type.commodity.beancount"
|
|
628
628
|
},
|
|
629
629
|
"cost": {
|
|
630
630
|
"begin": "\\{\\{?",
|