tm-grammars 1.6.3 → 1.6.5
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 +8 -8
- package/grammars/erlang.json +136 -0
- package/grammars/go.json +196 -92
- package/grammars/julia.json +5 -5
- package/grammars/latex.json +1006 -231
- package/grammars/rust.json +1 -1
- package/grammars/shellscript.json +581 -551
- package/grammars/tex.json +74 -30
- package/index.js +38 -37
- package/package.json +1 -1
package/grammars/tex.json
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
"displayName": "TeX",
|
|
3
3
|
"name": "tex",
|
|
4
4
|
"patterns": [
|
|
5
|
+
{
|
|
6
|
+
"begin": "(\\\\)iffalse",
|
|
7
|
+
"beginCaptures": {
|
|
8
|
+
"0": {
|
|
9
|
+
"name": "keyword.control.tex"
|
|
10
|
+
},
|
|
11
|
+
"1": {
|
|
12
|
+
"name": "punctuation.definition.keyword.tex"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"contentName": "comment.line.percentage.tex",
|
|
16
|
+
"end": "(\\\\)(else|fi)",
|
|
17
|
+
"endCaptures": {
|
|
18
|
+
"0": {
|
|
19
|
+
"name": "keyword.control.tex"
|
|
20
|
+
},
|
|
21
|
+
"1": {
|
|
22
|
+
"name": "punctuation.definition.keyword.tex"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"patterns": [
|
|
26
|
+
{
|
|
27
|
+
"include": "#comment"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"include": "#conditionals"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
5
34
|
{
|
|
6
35
|
"captures": {
|
|
7
36
|
"1": {
|
|
@@ -30,35 +59,7 @@
|
|
|
30
59
|
"name": "meta.catcode.tex"
|
|
31
60
|
},
|
|
32
61
|
{
|
|
33
|
-
"
|
|
34
|
-
"beginCaptures": {
|
|
35
|
-
"1": {
|
|
36
|
-
"name": "punctuation.whitespace.comment.leading.tex"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"end": "(?!\\G)",
|
|
40
|
-
"patterns": [
|
|
41
|
-
{
|
|
42
|
-
"begin": "%:?",
|
|
43
|
-
"beginCaptures": {
|
|
44
|
-
"0": {
|
|
45
|
-
"name": "punctuation.definition.comment.tex"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"end": "$\\n?",
|
|
49
|
-
"name": "comment.line.percentage.tex"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"begin": "^(%!TEX) (\\S*) =",
|
|
53
|
-
"beginCaptures": {
|
|
54
|
-
"1": {
|
|
55
|
-
"name": "punctuation.definition.comment.tex"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"end": "$\\n?",
|
|
59
|
-
"name": "comment.line.percentage.directive.tex"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
+
"include": "#comment"
|
|
62
63
|
},
|
|
63
64
|
{
|
|
64
65
|
"match": "[\\[\\]]",
|
|
@@ -135,6 +136,49 @@
|
|
|
135
136
|
}
|
|
136
137
|
]
|
|
137
138
|
},
|
|
139
|
+
"comment": {
|
|
140
|
+
"begin": "(^[ \\t]+)?(?=%)",
|
|
141
|
+
"beginCaptures": {
|
|
142
|
+
"1": {
|
|
143
|
+
"name": "punctuation.whitespace.comment.leading.tex"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"end": "(?!\\G)",
|
|
147
|
+
"patterns": [
|
|
148
|
+
{
|
|
149
|
+
"begin": "%:?",
|
|
150
|
+
"beginCaptures": {
|
|
151
|
+
"0": {
|
|
152
|
+
"name": "punctuation.definition.comment.tex"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"end": "$\\n?",
|
|
156
|
+
"name": "comment.line.percentage.tex"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"begin": "^(%!TEX) (\\S*) =",
|
|
160
|
+
"beginCaptures": {
|
|
161
|
+
"1": {
|
|
162
|
+
"name": "punctuation.definition.comment.tex"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"end": "$\\n?",
|
|
166
|
+
"name": "comment.line.percentage.directive.tex"
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"conditionals": {
|
|
171
|
+
"begin": "\\\\(if[a-z]*)",
|
|
172
|
+
"end": "\\\\fi",
|
|
173
|
+
"patterns": [
|
|
174
|
+
{
|
|
175
|
+
"include": "#comment"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"include": "#conditionals"
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
},
|
|
138
182
|
"math": {
|
|
139
183
|
"patterns": [
|
|
140
184
|
{
|
|
@@ -162,7 +206,7 @@
|
|
|
162
206
|
"include": "#math"
|
|
163
207
|
},
|
|
164
208
|
{
|
|
165
|
-
"include": "$
|
|
209
|
+
"include": "$self"
|
|
166
210
|
}
|
|
167
211
|
]
|
|
168
212
|
},
|
package/index.js
CHANGED
|
@@ -247,13 +247,13 @@ export const grammars = [
|
|
|
247
247
|
'markup',
|
|
248
248
|
],
|
|
249
249
|
displayName: 'BibTeX',
|
|
250
|
-
lastUpdate: '
|
|
250
|
+
lastUpdate: '2024-04-09T10:20:39Z',
|
|
251
251
|
license: 'MIT',
|
|
252
252
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
253
253
|
name: 'bibtex',
|
|
254
254
|
scopeName: 'text.bibtex',
|
|
255
|
-
sha: '
|
|
256
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
255
|
+
sha: 'b557947e50a068bdcc927ffd31ee555dbb232558',
|
|
256
|
+
source: 'https://github.com/microsoft/vscode/blob/b557947e50a068bdcc927ffd31ee555dbb232558/extensions/latex/syntaxes/Bibtex.tmLanguage.json',
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
259
|
byteSize: 4041,
|
|
@@ -642,15 +642,15 @@ export const grammars = [
|
|
|
642
642
|
aliases: [
|
|
643
643
|
'erl',
|
|
644
644
|
],
|
|
645
|
-
byteSize:
|
|
645
|
+
byteSize: 31146,
|
|
646
646
|
displayName: 'Erlang',
|
|
647
|
-
lastUpdate: '2024-04-
|
|
647
|
+
lastUpdate: '2024-04-03T07:32:37Z',
|
|
648
648
|
license: 'Apache-2.0',
|
|
649
649
|
licenseUrl: 'https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE',
|
|
650
650
|
name: 'erlang',
|
|
651
651
|
scopeName: 'source.erlang',
|
|
652
|
-
sha: '
|
|
653
|
-
source: 'https://github.com/erlang-ls/grammar/blob/
|
|
652
|
+
sha: '2166c044337dcae6c143c140b47abb8b8fd29a4c',
|
|
653
|
+
source: 'https://github.com/erlang-ls/grammar/blob/2166c044337dcae6c143c140b47abb8b8fd29a4c/Erlang.plist',
|
|
654
654
|
},
|
|
655
655
|
{
|
|
656
656
|
byteSize: 5184,
|
|
@@ -881,18 +881,18 @@ export const grammars = [
|
|
|
881
881
|
source: 'https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage',
|
|
882
882
|
},
|
|
883
883
|
{
|
|
884
|
-
byteSize:
|
|
884
|
+
byteSize: 46222,
|
|
885
885
|
categories: [
|
|
886
886
|
'general',
|
|
887
887
|
],
|
|
888
888
|
displayName: 'Go',
|
|
889
|
-
lastUpdate: '2024-
|
|
889
|
+
lastUpdate: '2024-04-09T10:20:39Z',
|
|
890
890
|
license: 'MIT',
|
|
891
891
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
892
892
|
name: 'go',
|
|
893
893
|
scopeName: 'source.go',
|
|
894
|
-
sha: '
|
|
895
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
894
|
+
sha: 'b557947e50a068bdcc927ffd31ee555dbb232558',
|
|
895
|
+
source: 'https://github.com/microsoft/vscode/blob/b557947e50a068bdcc927ffd31ee555dbb232558/extensions/go/syntaxes/go.tmLanguage.json',
|
|
896
896
|
},
|
|
897
897
|
{
|
|
898
898
|
aliases: [
|
|
@@ -1314,7 +1314,7 @@ export const grammars = [
|
|
|
1314
1314
|
aliases: [
|
|
1315
1315
|
'jl',
|
|
1316
1316
|
],
|
|
1317
|
-
byteSize:
|
|
1317
|
+
byteSize: 33620,
|
|
1318
1318
|
categories: [
|
|
1319
1319
|
'web',
|
|
1320
1320
|
'data',
|
|
@@ -1327,13 +1327,13 @@ export const grammars = [
|
|
|
1327
1327
|
'r',
|
|
1328
1328
|
'sql',
|
|
1329
1329
|
],
|
|
1330
|
-
lastUpdate: '2024-
|
|
1330
|
+
lastUpdate: '2024-04-09T10:20:39Z',
|
|
1331
1331
|
license: 'MIT',
|
|
1332
1332
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
1333
1333
|
name: 'julia',
|
|
1334
1334
|
scopeName: 'source.julia',
|
|
1335
|
-
sha: '
|
|
1336
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
1335
|
+
sha: 'b557947e50a068bdcc927ffd31ee555dbb232558',
|
|
1336
|
+
source: 'https://github.com/microsoft/vscode/blob/b557947e50a068bdcc927ffd31ee555dbb232558/extensions/julia/syntaxes/julia.tmLanguage.json',
|
|
1337
1337
|
},
|
|
1338
1338
|
{
|
|
1339
1339
|
aliases: [
|
|
@@ -1366,36 +1366,37 @@ export const grammars = [
|
|
|
1366
1366
|
source: 'https://github.com/rosshamish/kuskus/blob/638b8a9249c2c423bc263726661cde534b25adc7/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json',
|
|
1367
1367
|
},
|
|
1368
1368
|
{
|
|
1369
|
-
byteSize:
|
|
1369
|
+
byteSize: 54540,
|
|
1370
1370
|
categories: [
|
|
1371
1371
|
'markup',
|
|
1372
1372
|
],
|
|
1373
1373
|
displayName: 'LaTeX',
|
|
1374
1374
|
embedded: [
|
|
1375
1375
|
'tex',
|
|
1376
|
+
'shellscript',
|
|
1376
1377
|
'css',
|
|
1378
|
+
'gnuplot',
|
|
1377
1379
|
'haskell',
|
|
1378
1380
|
'html',
|
|
1379
|
-
'xml',
|
|
1380
1381
|
'java',
|
|
1381
|
-
'lua',
|
|
1382
1382
|
'julia',
|
|
1383
|
-
'ruby',
|
|
1384
1383
|
'javascript',
|
|
1385
|
-
'
|
|
1384
|
+
'lua',
|
|
1386
1385
|
'python',
|
|
1387
|
-
'
|
|
1386
|
+
'ruby',
|
|
1388
1387
|
'rust',
|
|
1388
|
+
'typescript',
|
|
1389
|
+
'xml',
|
|
1390
|
+
'yaml',
|
|
1389
1391
|
'scala',
|
|
1390
|
-
'gnuplot',
|
|
1391
1392
|
],
|
|
1392
|
-
lastUpdate: '2024-
|
|
1393
|
+
lastUpdate: '2024-04-09T10:20:39Z',
|
|
1393
1394
|
license: 'MIT',
|
|
1394
1395
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
1395
1396
|
name: 'latex',
|
|
1396
1397
|
scopeName: 'text.tex.latex',
|
|
1397
|
-
sha: '
|
|
1398
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
1398
|
+
sha: 'b557947e50a068bdcc927ffd31ee555dbb232558',
|
|
1399
|
+
source: 'https://github.com/microsoft/vscode/blob/b557947e50a068bdcc927ffd31ee555dbb232558/extensions/latex/syntaxes/LaTeX.tmLanguage.json',
|
|
1399
1400
|
},
|
|
1400
1401
|
{
|
|
1401
1402
|
byteSize: 81466,
|
|
@@ -2177,18 +2178,18 @@ export const grammars = [
|
|
|
2177
2178
|
aliases: [
|
|
2178
2179
|
'rs',
|
|
2179
2180
|
],
|
|
2180
|
-
byteSize:
|
|
2181
|
+
byteSize: 17175,
|
|
2181
2182
|
categories: [
|
|
2182
2183
|
'general',
|
|
2183
2184
|
],
|
|
2184
2185
|
displayName: 'Rust',
|
|
2185
|
-
lastUpdate: '2024-
|
|
2186
|
+
lastUpdate: '2024-04-09T10:20:39Z',
|
|
2186
2187
|
license: 'MIT',
|
|
2187
2188
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
2188
2189
|
name: 'rust',
|
|
2189
2190
|
scopeName: 'source.rust',
|
|
2190
|
-
sha: '
|
|
2191
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
2191
|
+
sha: 'b557947e50a068bdcc927ffd31ee555dbb232558',
|
|
2192
|
+
source: 'https://github.com/microsoft/vscode/blob/b557947e50a068bdcc927ffd31ee555dbb232558/extensions/rust/syntaxes/rust.tmLanguage.json',
|
|
2192
2193
|
},
|
|
2193
2194
|
{
|
|
2194
2195
|
byteSize: 9533,
|
|
@@ -2284,18 +2285,18 @@ export const grammars = [
|
|
|
2284
2285
|
'shell',
|
|
2285
2286
|
'zsh',
|
|
2286
2287
|
],
|
|
2287
|
-
byteSize:
|
|
2288
|
+
byteSize: 39910,
|
|
2288
2289
|
categories: [
|
|
2289
2290
|
'scripting',
|
|
2290
2291
|
],
|
|
2291
2292
|
displayName: 'Shell',
|
|
2292
|
-
lastUpdate: '2024-
|
|
2293
|
+
lastUpdate: '2024-04-09T10:20:39Z',
|
|
2293
2294
|
license: 'MIT',
|
|
2294
2295
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
2295
2296
|
name: 'shellscript',
|
|
2296
2297
|
scopeName: 'source.shell',
|
|
2297
|
-
sha: '
|
|
2298
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
2298
|
+
sha: 'b557947e50a068bdcc927ffd31ee555dbb232558',
|
|
2299
|
+
source: 'https://github.com/microsoft/vscode/blob/b557947e50a068bdcc927ffd31ee555dbb232558/extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json',
|
|
2299
2300
|
},
|
|
2300
2301
|
{
|
|
2301
2302
|
aliases: [
|
|
@@ -2507,7 +2508,7 @@ export const grammars = [
|
|
|
2507
2508
|
source: 'https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json',
|
|
2508
2509
|
},
|
|
2509
2510
|
{
|
|
2510
|
-
byteSize:
|
|
2511
|
+
byteSize: 8555,
|
|
2511
2512
|
categories: [
|
|
2512
2513
|
'markup',
|
|
2513
2514
|
],
|
|
@@ -2515,13 +2516,13 @@ export const grammars = [
|
|
|
2515
2516
|
embedded: [
|
|
2516
2517
|
'r',
|
|
2517
2518
|
],
|
|
2518
|
-
lastUpdate: '
|
|
2519
|
+
lastUpdate: '2024-04-09T10:20:39Z',
|
|
2519
2520
|
license: 'MIT',
|
|
2520
2521
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
2521
2522
|
name: 'tex',
|
|
2522
2523
|
scopeName: 'text.tex',
|
|
2523
|
-
sha: '
|
|
2524
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
2524
|
+
sha: 'b557947e50a068bdcc927ffd31ee555dbb232558',
|
|
2525
|
+
source: 'https://github.com/microsoft/vscode/blob/b557947e50a068bdcc927ffd31ee555dbb232558/extensions/latex/syntaxes/TeX.tmLanguage.json',
|
|
2525
2526
|
},
|
|
2526
2527
|
{
|
|
2527
2528
|
byteSize: 6411,
|
package/package.json
CHANGED