tm-grammars 1.24.11 → 1.24.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 +2 -2
- package/grammars/nushell.json +5 -2
- package/grammars/swift.json +9 -13
- package/index.js +12 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -149,7 +149,7 @@ import { grammars } from 'tm-grammars'
|
|
|
149
149
|
| `nginx` | | [hangxingliu/vscode-nginx-conf-hint](https://github.com/hangxingliu/vscode-nginx-conf-hint/blob/49159c02fd09dce264ded7802c9499a0f09646f5/src/syntax/nginx.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/hangxingliu/vscode-nginx-conf-hint/main/LICENSE) | | `lua` | 33.88 kB |
|
|
150
150
|
| `nim` | | [pragmagic/vscode-nim](https://github.com/pragmagic/vscode-nim/blob/0272a0544ddf147fde98f8a8f2b624b7dcb19eb3/syntaxes/nim.json) | [NOASSERTION](https://raw.githubusercontent.com/pragmagic/vscode-nim/master/LICENSE) | | `c` `html` `xml` `javascript` `css` `glsl` `markdown` | 20.78 kB |
|
|
151
151
|
| `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/ac1ed65aa92655748200cd62bd54e5ca051781bc/syntaxes/nix.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | [Open Collective: **nix-community**](https://opencollective.com/nix-community) | | 13.97 kB |
|
|
152
|
-
| `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/
|
|
152
|
+
| `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/544de244f118d57d78f0971c1797d427e90d2cb6/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | | 19.24 kB |
|
|
153
153
|
| `objective-c` | `objc` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 100.65 kB |
|
|
154
154
|
| `objective-cpp` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c++.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 163.50 kB |
|
|
155
155
|
| `ocaml` | | [reasonml-editor/vscode-reasonml](https://github.com/reasonml-editor/vscode-reasonml/blob/14af625ec50ed9968b957b4d6336c5338d81af45/syntaxes/ocaml.json) | [Apache-2.0](https://raw.githubusercontent.com/reasonml-editor/vscode-reasonml/master/LICENSE) | | | 58.98 kB |
|
|
@@ -202,7 +202,7 @@ import { grammars } from 'tm-grammars'
|
|
|
202
202
|
| `stata` | | [kylebarron/language-stata](https://github.com/kylebarron/language-stata/blob/dd98de502bc1bf2a205f3f023afb98c7aa5b42ee/grammars/stata.json) | [MIT](https://raw.githubusercontent.com/kylebarron/language-stata/master/LICENSE) | | `sql` | 54.40 kB |
|
|
203
203
|
| `stylus` | `styl` | [d4rkr00t/language-stylus](https://github.com/d4rkr00t/language-stylus/blob/198a851f385aee857332f3ce5dd981ff67720ead/syntaxes/stylus.json) | [MIT](https://raw.githubusercontent.com/d4rkr00t/language-stylus/master/LICENSE) | [Open Collective: **stylus**](https://opencollective.com/stylus) | | 29.69 kB |
|
|
204
204
|
| `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/d12a9ae276c9f4c6a62964bbdca074424cbab123/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE) | [Open Collective: **svelte**](https://opencollective.com/svelte) | `javascript` `typescript` `coffee` `stylus` `sass` `css` `scss` `less` `postcss` `pug` `markdown` | 16.81 kB |
|
|
205
|
-
| `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/
|
|
205
|
+
| `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/45ac01d47c6d63402570c2c36bcfbadbd1c7bca6/Swift.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 81.70 kB |
|
|
206
206
|
| `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/a63b28cd8f15d9ec4861b2f802e8bf6ce4f6d2f2/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | [buymeacoffee.com](https://www.buymeacoffee.com/mshr.h) | | 24.20 kB |
|
|
207
207
|
| `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/62ace1156b5afa0ec9932e3a55cfc00c0123c457/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | | 7.39 kB |
|
|
208
208
|
| `talonscript` | `talon` | [mrob95/vscode-TalonScript](https://github.com/mrob95/vscode-TalonScript/blob/91f3a6faaf926c02582f36ee155f2c4a02b9cc48/syntaxes/talon.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mirober/vscode-TalonScript/master/LICENSE) | | | 6.40 kB |
|
package/grammars/nushell.json
CHANGED
|
@@ -410,15 +410,18 @@
|
|
|
410
410
|
]
|
|
411
411
|
},
|
|
412
412
|
"function": {
|
|
413
|
-
"begin": "((?:export\\s+)?def(?:\\s+--\\w+)*)
|
|
413
|
+
"begin": "((?:export\\s+)?def)(?:\\s+(--\\w+(?:\\s+--\\w+)*))?\\s+([-\\w]+|\"[- \\w]+\"|'[- \\w]+'|`[- \\w]+`)(?:\\s+(--\\w+(?:\\s+--\\w+)*))?",
|
|
414
414
|
"beginCaptures": {
|
|
415
415
|
"1": {
|
|
416
416
|
"name": "entity.name.function.nushell"
|
|
417
417
|
},
|
|
418
418
|
"2": {
|
|
419
|
-
"name": "entity.name.
|
|
419
|
+
"name": "entity.name.function.nushell"
|
|
420
420
|
},
|
|
421
421
|
"3": {
|
|
422
|
+
"name": "entity.name.type.nushell"
|
|
423
|
+
},
|
|
424
|
+
"4": {
|
|
422
425
|
"name": "entity.name.function.nushell"
|
|
423
426
|
}
|
|
424
427
|
},
|
package/grammars/swift.json
CHANGED
|
@@ -960,12 +960,18 @@
|
|
|
960
960
|
]
|
|
961
961
|
},
|
|
962
962
|
"declarations-extension": {
|
|
963
|
-
"begin": "\\b(extension)\\s+
|
|
963
|
+
"begin": "\\b(extension)\\s+",
|
|
964
964
|
"beginCaptures": {
|
|
965
965
|
"1": {
|
|
966
966
|
"name": "storage.type.$1.swift"
|
|
967
|
-
}
|
|
968
|
-
|
|
967
|
+
}
|
|
968
|
+
},
|
|
969
|
+
"end": "(?<=})",
|
|
970
|
+
"name": "meta.definition.type.$1.swift",
|
|
971
|
+
"patterns": [
|
|
972
|
+
{
|
|
973
|
+
"begin": "\\G(?!\\s*[\\n:{])",
|
|
974
|
+
"end": "(?=\\s*[\\n:{])|(?!\\G)(?=\\s*where\\b)",
|
|
969
975
|
"name": "entity.name.type.swift",
|
|
970
976
|
"patterns": [
|
|
971
977
|
{
|
|
@@ -973,16 +979,6 @@
|
|
|
973
979
|
}
|
|
974
980
|
]
|
|
975
981
|
},
|
|
976
|
-
"3": {
|
|
977
|
-
"name": "punctuation.definition.identifier.swift"
|
|
978
|
-
},
|
|
979
|
-
"4": {
|
|
980
|
-
"name": "punctuation.definition.identifier.swift"
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
"end": "(?<=})",
|
|
984
|
-
"name": "meta.definition.type.$1.swift",
|
|
985
|
-
"patterns": [
|
|
986
982
|
{
|
|
987
983
|
"include": "#comments"
|
|
988
984
|
},
|
package/index.js
CHANGED
|
@@ -2743,19 +2743,19 @@ export const grammars = [
|
|
|
2743
2743
|
aliases: [
|
|
2744
2744
|
'nu',
|
|
2745
2745
|
],
|
|
2746
|
-
byteSize:
|
|
2746
|
+
byteSize: 19701,
|
|
2747
2747
|
displayName: 'nushell',
|
|
2748
2748
|
funding: [
|
|
2749
2749
|
],
|
|
2750
|
-
hash: '
|
|
2751
|
-
lastUpdate: '2025-09-
|
|
2750
|
+
hash: 'G-L2sN1dl0CsG1OVlGBFsVhb0V0eJk-PSq50khKxFsw',
|
|
2751
|
+
lastUpdate: '2025-09-20T14:01:20Z',
|
|
2752
2752
|
license: 'MIT',
|
|
2753
2753
|
licenseUrl: 'https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE',
|
|
2754
2754
|
name: 'nushell',
|
|
2755
2755
|
scopeName: 'source.nushell',
|
|
2756
|
-
sha: '
|
|
2757
|
-
source: 'https://github.com/nushell/vscode-nushell-lang/blob/
|
|
2758
|
-
sourceApi: 'https://api.github.com/repos/nushell/vscode-nushell-lang/contents/syntaxes/nushell.tmLanguage.json?ref=
|
|
2756
|
+
sha: '544de244f118d57d78f0971c1797d427e90d2cb6',
|
|
2757
|
+
source: 'https://github.com/nushell/vscode-nushell-lang/blob/544de244f118d57d78f0971c1797d427e90d2cb6/syntaxes/nushell.tmLanguage.json',
|
|
2758
|
+
sourceApi: 'https://api.github.com/repos/nushell/vscode-nushell-lang/contents/syntaxes/nushell.tmLanguage.json?ref=544de244f118d57d78f0971c1797d427e90d2cb6',
|
|
2759
2759
|
},
|
|
2760
2760
|
{
|
|
2761
2761
|
aliases: [
|
|
@@ -3812,7 +3812,7 @@ export const grammars = [
|
|
|
3812
3812
|
sourceApi: 'https://api.github.com/repos/sveltejs/language-tools/contents/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml?ref=d12a9ae276c9f4c6a62964bbdca074424cbab123',
|
|
3813
3813
|
},
|
|
3814
3814
|
{
|
|
3815
|
-
byteSize:
|
|
3815
|
+
byteSize: 83662,
|
|
3816
3816
|
categories: [
|
|
3817
3817
|
'general',
|
|
3818
3818
|
],
|
|
@@ -3829,15 +3829,15 @@ export const grammars = [
|
|
|
3829
3829
|
url: 'https://ko-fi.com/jtbandes',
|
|
3830
3830
|
},
|
|
3831
3831
|
],
|
|
3832
|
-
hash: '
|
|
3833
|
-
lastUpdate: '2025-09-
|
|
3832
|
+
hash: 'cueRN08SRiTPM69F-c1Yt-TWhGJASeljMZTb1D86Rsc',
|
|
3833
|
+
lastUpdate: '2025-09-14T21:20:27Z',
|
|
3834
3834
|
license: 'MIT',
|
|
3835
3835
|
licenseUrl: 'https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md',
|
|
3836
3836
|
name: 'swift',
|
|
3837
3837
|
scopeName: 'source.swift',
|
|
3838
|
-
sha: '
|
|
3839
|
-
source: 'https://github.com/jtbandes/swift-tmlanguage/blob/
|
|
3840
|
-
sourceApi: 'https://api.github.com/repos/jtbandes/swift-tmlanguage/contents/Swift.tmLanguage.yaml?ref=
|
|
3838
|
+
sha: '45ac01d47c6d63402570c2c36bcfbadbd1c7bca6',
|
|
3839
|
+
source: 'https://github.com/jtbandes/swift-tmlanguage/blob/45ac01d47c6d63402570c2c36bcfbadbd1c7bca6/Swift.tmLanguage.yaml',
|
|
3840
|
+
sourceApi: 'https://api.github.com/repos/jtbandes/swift-tmlanguage/contents/Swift.tmLanguage.yaml?ref=45ac01d47c6d63402570c2c36bcfbadbd1c7bca6',
|
|
3841
3841
|
},
|
|
3842
3842
|
{
|
|
3843
3843
|
byteSize: 24776,
|