tm-grammars 1.12.4 → 1.12.6
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 +3 -3
- package/grammars/go.json +48 -12
- package/grammars/racket.json +2 -2
- package/grammars/tex.json +19 -1
- package/index.js +12 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,7 +88,7 @@ import { grammars } from 'tm-grammars'
|
|
|
88
88
|
| `glimmer-ts` | `gts` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gts.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `typescript` `css` `javascript` `html` | 19.08 kB |
|
|
89
89
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB |
|
|
90
90
|
| `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) | | 16.46 kB |
|
|
91
|
-
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
91
|
+
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 45.69 kB |
|
|
92
92
|
| `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 |
|
|
93
93
|
| `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) | | 18.63 kB |
|
|
94
94
|
| `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.66 kB |
|
|
@@ -163,7 +163,7 @@ import { grammars } from 'tm-grammars'
|
|
|
163
163
|
| `qmldir` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/b301e7b18493ba59c4f52e49c3f73b6cd23d4c4b/syntaxes/qmldir.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | 902.00 B |
|
|
164
164
|
| `qss` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/f0a56a97d10f58ab7b4b6e2ab6ce34ca4c9d521d/syntaxes/qss.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | 7.46 kB |
|
|
165
165
|
| `r` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/fa22e9ac36d5d37ef096679927179091ba7f6966/extensions/r/syntaxes/r.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 33.83 kB |
|
|
166
|
-
| `racket` | | [Eugleo/magic-racket](https://github.com/Eugleo/magic-racket/blob/
|
|
166
|
+
| `racket` | | [Eugleo/magic-racket](https://github.com/Eugleo/magic-racket/blob/6a4d9934b3ec523162ab0243b5cb0e785316507a/syntaxes/racket.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/Eugleo/magic-racket/master/LICENSE) | | 100.94 kB |
|
|
167
167
|
| `raku` | `perl6` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/perl/syntaxes/perl6.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 10.05 kB |
|
|
168
168
|
| `razor` | | [dotnet/razor](https://github.com/dotnet/razor/blob/39159764277f3c80a786d8872eba7730da3d7ef0/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt) | `html` `csharp` | 24.50 kB |
|
|
169
169
|
| `reg` | | [mihai-vlc/reg-vscode](https://github.com/mihai-vlc/reg-vscode/blob/896096fc6756329d82c71a913663a1c0ac678f74/syntaxes/reg.tmLanguage) | [MIT](https://raw.githubusercontent.com/mihai-vlc/reg-vscode/master/LICENSE) | | 2.20 kB |
|
|
@@ -197,7 +197,7 @@ import { grammars } from 'tm-grammars'
|
|
|
197
197
|
| `tasl` | | [underlay/vscode-tasl](https://github.com/underlay/vscode-tasl/blob/dde4b7c0b762c2e667584095362dd49ebfacece7/syntaxes/tasl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/underlay/vscode-tasl/main/LICENSE) | | 3.21 kB |
|
|
198
198
|
| `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.66 kB |
|
|
199
199
|
| `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.58 kB |
|
|
200
|
-
| `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
200
|
+
| `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `r` | 8.77 kB |
|
|
201
201
|
| `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.26 kB |
|
|
202
202
|
| `tsv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/00d4c947f1bbe6a4a73599bd97fb31bdfbe262f3/syntaxes/tsv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | 633.00 B |
|
|
203
203
|
| `tsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 171.16 kB |
|
package/grammars/go.json
CHANGED
|
@@ -140,7 +140,8 @@
|
|
|
140
140
|
]
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
|
-
"
|
|
143
|
+
"begin": "(?:(\\bmake\\b)(?:(\\()((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+(?:\\([^\\)]+\\))?)?(?:[\\[\\]\\*]+)?(?:(?!\\bmap\\b)(?:[\\w\\.]+))?(\\[(?:(?:[\\S]+)(?:(?:\\,\\s*(?:[\\S]+))*))?\\])?(?:\\,)?)?))",
|
|
144
|
+
"beginCaptures": {
|
|
144
145
|
"1": {
|
|
145
146
|
"name": "entity.name.function.support.builtin.go"
|
|
146
147
|
},
|
|
@@ -160,20 +161,20 @@
|
|
|
160
161
|
"name": "entity.name.type.go"
|
|
161
162
|
}
|
|
162
163
|
]
|
|
163
|
-
},
|
|
164
|
-
"4": {
|
|
165
|
-
"patterns": [
|
|
166
|
-
{
|
|
167
|
-
"include": "$self"
|
|
168
|
-
}
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
"5": {
|
|
172
|
-
"name": "punctuation.definition.end.bracket.round.go"
|
|
173
164
|
}
|
|
174
165
|
},
|
|
175
166
|
"comment": "make keyword",
|
|
176
|
-
"
|
|
167
|
+
"end": "\\)",
|
|
168
|
+
"endCaptures": {
|
|
169
|
+
"0": {
|
|
170
|
+
"name": "punctuation.definition.end.bracket.round.go"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"patterns": [
|
|
174
|
+
{
|
|
175
|
+
"include": "$self"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
177
178
|
}
|
|
178
179
|
]
|
|
179
180
|
},
|
|
@@ -255,6 +256,38 @@
|
|
|
255
256
|
"comment": "double parentheses types",
|
|
256
257
|
"match": "(?:(?<!\\w)(\\((?:[\\w\\.\\[\\]\\*\\&]+)\\))(?=\\())"
|
|
257
258
|
},
|
|
259
|
+
"field_hover": {
|
|
260
|
+
"captures": {
|
|
261
|
+
"1": {
|
|
262
|
+
"patterns": [
|
|
263
|
+
{
|
|
264
|
+
"include": "#type-declarations"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"match": "\\w+",
|
|
268
|
+
"name": "variable.other.property.go"
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
},
|
|
272
|
+
"2": {
|
|
273
|
+
"patterns": [
|
|
274
|
+
{
|
|
275
|
+
"include": "#type-declarations"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"match": "\\binvalid\\b\\s+\\btype\\b",
|
|
279
|
+
"name": "invalid.field.go"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"match": "\\w+",
|
|
283
|
+
"name": "entity.name.type.go"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"comment": "struct field property and types when hovering with the mouse",
|
|
289
|
+
"match": "(?:(?<=^\\bfield\\b)\\s+([\\w\\*\\.]+)\\s+([\\s\\S]+))"
|
|
290
|
+
},
|
|
258
291
|
"function_declaration": {
|
|
259
292
|
"begin": "(?:^(\\bfunc\\b)(?:\\s*(\\([^\\)]+\\)\\s*)?(?:(\\w+)(?=\\(|\\[))?))",
|
|
260
293
|
"beginCaptures": {
|
|
@@ -2033,6 +2066,9 @@
|
|
|
2033
2066
|
},
|
|
2034
2067
|
{
|
|
2035
2068
|
"include": "#group-variables"
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"include": "#field_hover"
|
|
2036
2072
|
}
|
|
2037
2073
|
]
|
|
2038
2074
|
},
|
package/grammars/racket.json
CHANGED
|
@@ -279,8 +279,8 @@
|
|
|
279
279
|
"character": {
|
|
280
280
|
"patterns": [
|
|
281
281
|
{
|
|
282
|
-
"match": "(?x) \\#\\\\\n(?:\n(?: [0-7]{3}) |\n(?: u[0-9a-fA-F]{1,4}) |\n(?: U[0-9a-fA-F]{1,6}) |\n(?:\n(?:\nnull? | newline | linefeed | backspace |
|
|
283
|
-
"name": "
|
|
282
|
+
"match": "(?x) \\#\\\\\n(?:\n(?: [0-7]{3}) |\n(?: u[0-9a-fA-F]{1,4}) |\n(?: U[0-9a-fA-F]{1,6}) |\n(?:\n(?:\nnull? | newline | linefeed | backspace | v?tab | page |\nreturn | space | rubout | (?: [^\\w\\s] | \\d)\n)\n(?![a-zA-Z])\n) |\n(?: [^\\W\\d](?=[\\W\\d]) | \\W )\n)\n",
|
|
283
|
+
"name": "string.quoted.single.racket"
|
|
284
284
|
}
|
|
285
285
|
]
|
|
286
286
|
},
|
package/grammars/tex.json
CHANGED
|
@@ -102,7 +102,25 @@
|
|
|
102
102
|
"name": "punctuation.definition.function.tex"
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
-
"match": "(\\\\)
|
|
105
|
+
"match": "(\\\\)_*[\\p{Alphabetic}@]+(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*",
|
|
106
|
+
"name": "support.class.general.latex3.tex"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"captures": {
|
|
110
|
+
"1": {
|
|
111
|
+
"name": "punctuation.definition.function.tex"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"match": "(\\.)[\\p{Alphabetic}@]+(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*",
|
|
115
|
+
"name": "support.class.general.latex3.tex"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"captures": {
|
|
119
|
+
"1": {
|
|
120
|
+
"name": "punctuation.definition.function.tex"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"match": "(\\\\)(?:[,;]|(?:[\\p{Alphabetic}@]+))",
|
|
106
124
|
"name": "support.function.general.tex"
|
|
107
125
|
},
|
|
108
126
|
{
|
package/index.js
CHANGED
|
@@ -1044,18 +1044,18 @@ export const grammars = [
|
|
|
1044
1044
|
source: 'https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage',
|
|
1045
1045
|
},
|
|
1046
1046
|
{
|
|
1047
|
-
byteSize:
|
|
1047
|
+
byteSize: 46789,
|
|
1048
1048
|
categories: [
|
|
1049
1049
|
'general',
|
|
1050
1050
|
],
|
|
1051
1051
|
displayName: 'Go',
|
|
1052
|
-
lastUpdate: '2024-
|
|
1052
|
+
lastUpdate: '2024-05-31T13:09:59Z',
|
|
1053
1053
|
license: 'MIT',
|
|
1054
1054
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
1055
1055
|
name: 'go',
|
|
1056
1056
|
scopeName: 'source.go',
|
|
1057
|
-
sha: '
|
|
1058
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
1057
|
+
sha: 'b8e3432a0b7dd11ffd0c832fad6a6c51e809013c',
|
|
1058
|
+
source: 'https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/go/syntaxes/go.tmLanguage.json',
|
|
1059
1059
|
},
|
|
1060
1060
|
{
|
|
1061
1061
|
aliases: [
|
|
@@ -2328,18 +2328,18 @@ export const grammars = [
|
|
|
2328
2328
|
source: 'https://github.com/microsoft/vscode/blob/fa22e9ac36d5d37ef096679927179091ba7f6966/extensions/r/syntaxes/r.tmLanguage.json',
|
|
2329
2329
|
},
|
|
2330
2330
|
{
|
|
2331
|
-
byteSize:
|
|
2331
|
+
byteSize: 103359,
|
|
2332
2332
|
categories: [
|
|
2333
2333
|
'lisp',
|
|
2334
2334
|
],
|
|
2335
2335
|
displayName: 'Racket',
|
|
2336
|
-
lastUpdate: '
|
|
2336
|
+
lastUpdate: '2024-05-29T13:14:07Z',
|
|
2337
2337
|
license: 'GPL-3.0',
|
|
2338
2338
|
licenseUrl: 'https://raw.githubusercontent.com/Eugleo/magic-racket/master/LICENSE',
|
|
2339
2339
|
name: 'racket',
|
|
2340
2340
|
scopeName: 'source.racket',
|
|
2341
|
-
sha: '
|
|
2342
|
-
source: 'https://github.com/Eugleo/magic-racket/blob/
|
|
2341
|
+
sha: '6a4d9934b3ec523162ab0243b5cb0e785316507a',
|
|
2342
|
+
source: 'https://github.com/Eugleo/magic-racket/blob/6a4d9934b3ec523162ab0243b5cb0e785316507a/syntaxes/racket.tmLanguage.json',
|
|
2343
2343
|
},
|
|
2344
2344
|
{
|
|
2345
2345
|
aliases: [
|
|
@@ -2841,7 +2841,7 @@ export const grammars = [
|
|
|
2841
2841
|
source: 'https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json',
|
|
2842
2842
|
},
|
|
2843
2843
|
{
|
|
2844
|
-
byteSize:
|
|
2844
|
+
byteSize: 8978,
|
|
2845
2845
|
categories: [
|
|
2846
2846
|
'markup',
|
|
2847
2847
|
],
|
|
@@ -2849,13 +2849,13 @@ export const grammars = [
|
|
|
2849
2849
|
embedded: [
|
|
2850
2850
|
'r',
|
|
2851
2851
|
],
|
|
2852
|
-
lastUpdate: '2024-
|
|
2852
|
+
lastUpdate: '2024-05-31T13:09:59Z',
|
|
2853
2853
|
license: 'MIT',
|
|
2854
2854
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
2855
2855
|
name: 'tex',
|
|
2856
2856
|
scopeName: 'text.tex',
|
|
2857
|
-
sha: '
|
|
2858
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
2857
|
+
sha: 'b8e3432a0b7dd11ffd0c832fad6a6c51e809013c',
|
|
2858
|
+
source: 'https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/latex/syntaxes/TeX.tmLanguage.json',
|
|
2859
2859
|
},
|
|
2860
2860
|
{
|
|
2861
2861
|
byteSize: 6411,
|