tm-grammars 1.0.17 → 1.0.19
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/cobol.json +7 -0
- package/grammars/kotlin.json +16 -16
- package/index.js +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ import { grammars } from 'tm-grammars'
|
|
|
45
45
|
| `clarity` | | [hirosystems/clarity.tmbundle](https://github.com/hirosystems/clarity.tmbundle/blob/14499973360935676fcf40fa37723ec216aa3c9f/Syntaxes/clarity.JSON-tmLanguage) | [MIT](https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE) | | 13.77 kB |
|
|
46
46
|
| `clojure` | `clj` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/a1a4c0a63b1ad59e84f54b874744fe35dea9abe1/extensions/clojure/syntaxes/clojure.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 6.36 kB |
|
|
47
47
|
| `cmake` | | [twxs/vs.language.cmake](https://github.com/twxs/vs.language.cmake/blob/19b1b8fe2d68d72cf294d0c3c22f0a3fc54f8f6f/syntaxes/CMake.tmLanguage) | [MIT](https://raw.githubusercontent.com/twxs/vs.language.cmake/master/LICENSE) | | 10.00 kB |
|
|
48
|
-
| `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/
|
|
48
|
+
| `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/a01a70bf6107b180422100af1e56151991205b6b/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | `sql` `html` `java` | 38.19 kB |
|
|
49
49
|
| `codeql` | `ql` | [github/vscode-codeql](https://github.com/github/vscode-codeql/blob/47fa163cb9fffce379458962eb391c9ef9082dcb/syntaxes/ql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md) | | 32.73 kB |
|
|
50
50
|
| `coffee` | `coffeescript` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ff58f5083f57b50e6a100ab60454dfb72fe21e80/extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` | 26.34 kB |
|
|
51
51
|
| `cpp` | `c++` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp-macro` `glsl` `sql` | 411.01 kB |
|
|
@@ -103,7 +103,7 @@ import { grammars } from 'tm-grammars'
|
|
|
103
103
|
| `jssm` | `fsl` | [StoneCypher/sublime-jssm](https://github.com/StoneCypher/sublime-jssm/blob/2be02a59d284229bbbfb3dc6c2bdcec9b2c263ef/jssm.tmLanguage) | [MIT](https://raw.githubusercontent.com/StoneCypher/sublime-jssm/master/LICENSE) | | 2.79 kB |
|
|
104
104
|
| `jsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c778cc6117ba3b243a8e2321b4cf33062546e312/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 173.30 kB |
|
|
105
105
|
| `julia` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/3c86ede5f554f6e196c832394e126b291a1de606/extensions/julia/syntaxes/julia.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp` `python` `javascript` `r` `sql` | 30.55 kB |
|
|
106
|
-
| `kotlin` | `kt` `kts` | [fwcd/vscode-kotlin](https://github.com/fwcd/vscode-kotlin/blob/
|
|
106
|
+
| `kotlin` | `kt` `kts` | [fwcd/vscode-kotlin](https://github.com/fwcd/vscode-kotlin/blob/bb71d917dd97b756d45f2594346efe3d70a15060/syntaxes/kotlin.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE) | | 8.22 kB |
|
|
107
107
|
| `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/638b8a9249c2c423bc263726661cde534b25adc7/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.23 kB |
|
|
108
108
|
| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/3c86ede5f554f6e196c832394e126b291a1de606/extensions/latex/syntaxes/LaTeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `tex` `css` `haskell` `html` `xml` `java` `lua` `julia` `ruby` `javascript` `typescript` `python` `yaml` `rust` `scala` `gnuplot` | 39.48 kB |
|
|
109
109
|
| `less` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/b0d60e8e2e90bc9d7913611c176d14b8eb91b532/extensions/less/syntaxes/less.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 79.56 kB |
|
package/grammars/cobol.json
CHANGED
|
@@ -466,6 +466,9 @@
|
|
|
466
466
|
{
|
|
467
467
|
"include": "#dli-keywords"
|
|
468
468
|
},
|
|
469
|
+
{
|
|
470
|
+
"include": "#dli-options"
|
|
471
|
+
},
|
|
469
472
|
{
|
|
470
473
|
"include": "#string-double-quoted-constant"
|
|
471
474
|
},
|
|
@@ -1100,6 +1103,10 @@
|
|
|
1100
1103
|
"match": "(?<![\\-\\w])(?i:accept|chkp|deq|dlet|gnp|gn|gu|isrt|load|log|pos|query|refresh|repl|retrieve|rolb|roll|rols|schd|sets|setu|symchkp|term|xrst)(?![\\-\\w])",
|
|
1101
1104
|
"name": "keyword.verb.dli"
|
|
1102
1105
|
},
|
|
1106
|
+
"dli-options": {
|
|
1107
|
+
"match": "(?<![\\-\\w])(?i:statusgroup|checkpoint|chkp|id|lockclass|segment|info|where|from|using|keyfeedback|feedbacklen|variable|first|last|current|seglength|offset|locked|movenext|getfirst|set|setcond|setzero|setparent|fieldlength|keys|maxlength|length[0-9]*|area[0-9]*|psc|pcs|pcb|sysserve|into)(?![\\-\\w])",
|
|
1108
|
+
"name": "keyword.other.dli"
|
|
1109
|
+
},
|
|
1103
1110
|
"number-complex-constant": {
|
|
1104
1111
|
"match": "(\\-|\\+)?((([0-9]+(\\.[0-9]+))|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?(?=\\s|\\.$|,|\\))",
|
|
1105
1112
|
"name": "constant.numeric.cobol"
|
package/grammars/kotlin.json
CHANGED
|
@@ -107,13 +107,13 @@
|
|
|
107
107
|
"include": "#class-declaration"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
|
-
"include": "#object
|
|
110
|
+
"include": "#object"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"include": "#type-alias"
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
"include": "#function
|
|
116
|
+
"include": "#function"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"include": "#variable-declaration"
|
|
@@ -264,10 +264,10 @@
|
|
|
264
264
|
"match": "\\b\\d[\\d_]*(\\.[\\d_]+)?((e|E)\\d+)?(u|U)?(L|F|f)?\\b",
|
|
265
265
|
"name": "constant.numeric.decimal.kotlin"
|
|
266
266
|
},
|
|
267
|
-
"function
|
|
267
|
+
"function": {
|
|
268
268
|
"captures": {
|
|
269
269
|
"1": {
|
|
270
|
-
"name": "
|
|
270
|
+
"name": "storage.type.function.kotlin"
|
|
271
271
|
},
|
|
272
272
|
"2": {
|
|
273
273
|
"patterns": [
|
|
@@ -275,14 +275,20 @@
|
|
|
275
275
|
"include": "#type-parameter"
|
|
276
276
|
}
|
|
277
277
|
]
|
|
278
|
+
},
|
|
279
|
+
"4": {
|
|
280
|
+
"name": "entity.name.type.class.extension.kotlin"
|
|
281
|
+
},
|
|
282
|
+
"5": {
|
|
283
|
+
"name": "entity.name.function.declaration.kotlin"
|
|
278
284
|
}
|
|
279
285
|
},
|
|
280
|
-
"match": "
|
|
286
|
+
"match": "\\b(fun)\\b\\s*(?<GROUP><([^<>]|\\g<GROUP>)+>)?\\s*(?:(?:(\\w+)\\.)?(\\b\\w+\\b|`[^`]+`))?"
|
|
281
287
|
},
|
|
282
|
-
"function-
|
|
288
|
+
"function-call": {
|
|
283
289
|
"captures": {
|
|
284
290
|
"1": {
|
|
285
|
-
"name": "
|
|
291
|
+
"name": "entity.name.function.call.kotlin"
|
|
286
292
|
},
|
|
287
293
|
"2": {
|
|
288
294
|
"patterns": [
|
|
@@ -290,15 +296,9 @@
|
|
|
290
296
|
"include": "#type-parameter"
|
|
291
297
|
}
|
|
292
298
|
]
|
|
293
|
-
},
|
|
294
|
-
"4": {
|
|
295
|
-
"name": "entity.name.type.class.extension.kotlin"
|
|
296
|
-
},
|
|
297
|
-
"5": {
|
|
298
|
-
"name": "entity.name.function.declaration.kotlin"
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
|
-
"match": "\\b
|
|
301
|
+
"match": "\\??\\.?(\\b\\w+\\b|`[^`]+`)\\s*(?<GROUP><([^<>]|\\g<GROUP>)+>)?\\s*(?=[({])"
|
|
302
302
|
},
|
|
303
303
|
"hard-keywords": {
|
|
304
304
|
"match": "\\b(as|typeof|is|in)\\b",
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
"match": "\\bnull\\b",
|
|
378
378
|
"name": "constant.language.null.kotlin"
|
|
379
379
|
},
|
|
380
|
-
"object
|
|
380
|
+
"object": {
|
|
381
381
|
"captures": {
|
|
382
382
|
"1": {
|
|
383
383
|
"name": "storage.type.object.kotlin"
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
"name": "entity.name.type.object.kotlin"
|
|
387
387
|
}
|
|
388
388
|
},
|
|
389
|
-
"match": "\\b(object)
|
|
389
|
+
"match": "\\b(object)(?:\\s+(\\b\\w+\\b|`[^`]+`))?"
|
|
390
390
|
},
|
|
391
391
|
"operators": {
|
|
392
392
|
"patterns": [
|
package/index.js
CHANGED
|
@@ -360,20 +360,20 @@ export const grammars = [
|
|
|
360
360
|
source: 'https://github.com/twxs/vs.language.cmake/blob/19b1b8fe2d68d72cf294d0c3c22f0a3fc54f8f6f/syntaxes/CMake.tmLanguage',
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
|
-
byteSize:
|
|
363
|
+
byteSize: 39108,
|
|
364
364
|
displayName: 'COBOL',
|
|
365
365
|
embedded: [
|
|
366
366
|
'sql',
|
|
367
367
|
'html',
|
|
368
368
|
'java',
|
|
369
369
|
],
|
|
370
|
-
lastUpdate: '2024-01-
|
|
370
|
+
lastUpdate: '2024-01-16T20:50:10Z',
|
|
371
371
|
license: 'MIT',
|
|
372
372
|
licenseUrl: 'https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE',
|
|
373
373
|
name: 'cobol',
|
|
374
374
|
scopeName: 'source.cobol',
|
|
375
|
-
sha: '
|
|
376
|
-
source: 'https://github.com/spgennard/vscode_cobol/blob/
|
|
375
|
+
sha: 'a01a70bf6107b180422100af1e56151991205b6b',
|
|
376
|
+
source: 'https://github.com/spgennard/vscode_cobol/blob/a01a70bf6107b180422100af1e56151991205b6b/syntaxes/COBOL.tmLanguage.json',
|
|
377
377
|
},
|
|
378
378
|
{
|
|
379
379
|
aliases: [
|
|
@@ -1267,18 +1267,18 @@ export const grammars = [
|
|
|
1267
1267
|
'kt',
|
|
1268
1268
|
'kts',
|
|
1269
1269
|
],
|
|
1270
|
-
byteSize:
|
|
1270
|
+
byteSize: 8421,
|
|
1271
1271
|
categories: [
|
|
1272
1272
|
'general',
|
|
1273
1273
|
],
|
|
1274
1274
|
displayName: 'Kotlin',
|
|
1275
|
-
lastUpdate: '
|
|
1275
|
+
lastUpdate: '2024-01-15T16:41:17Z',
|
|
1276
1276
|
license: 'MIT',
|
|
1277
1277
|
licenseUrl: 'https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE',
|
|
1278
1278
|
name: 'kotlin',
|
|
1279
1279
|
scopeName: 'source.kotlin',
|
|
1280
|
-
sha: '
|
|
1281
|
-
source: 'https://github.com/fwcd/vscode-kotlin/blob/
|
|
1280
|
+
sha: 'bb71d917dd97b756d45f2594346efe3d70a15060',
|
|
1281
|
+
source: 'https://github.com/fwcd/vscode-kotlin/blob/bb71d917dd97b756d45f2594346efe3d70a15060/syntaxes/kotlin.tmLanguage.json',
|
|
1282
1282
|
},
|
|
1283
1283
|
{
|
|
1284
1284
|
aliases: [
|
package/package.json
CHANGED