tm-grammars 1.30.8 → 1.30.10
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/nushell.json +14 -14
- package/grammars/ron.json +102 -19
- package/grammars/svelte.json +16 -0
- package/index.js +18 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ import { grammars } from 'tm-grammars'
|
|
|
154
154
|
| `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 |
|
|
155
155
|
| `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 |
|
|
156
156
|
| `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/effbf3494a43250a537834805b305793994b9ca8/dist/nix.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | [GitHub Sponsors: **@nix-community**](https://github.com/sponsors/nix-community) [Open Collective: **nix-community**](https://opencollective.com/nix-community) | `markdown-nix` | 13.87 kB |
|
|
157
|
-
| `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/
|
|
157
|
+
| `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/301f93bb350bc0a8db47d4e0cf23b412cbc8f4b7/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | | 19.25 kB |
|
|
158
158
|
| `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 |
|
|
159
159
|
| `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 |
|
|
160
160
|
| `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 |
|
|
@@ -188,7 +188,7 @@ import { grammars } from 'tm-grammars'
|
|
|
188
188
|
| `regexp` | `regex` | [MagicStack/MagicPython](https://github.com/MagicStack/MagicPython/blob/c9b3409deb69acec31bbf7913830e93a046b30cc/grammars/MagicRegExp.tmLanguage) | [MIT](https://raw.githubusercontent.com/MagicStack/MagicPython/master/LICENSE) | | | 7.54 kB |
|
|
189
189
|
| `rel` | | [relationalai-oss/rel_vscode](https://github.com/relationalai-oss/rel_vscode/blob/63dda4dee48c67b037357f47b562185484555ea9/syntaxes/rel.tmLanguage.json) | | | | 3.14 kB |
|
|
190
190
|
| `riscv` | | [zhuanhao-wu/vscode-riscv-support](https://github.com/zhuanhao-wu/vscode-riscv-support/blob/2736b60e45ff2ef738d784055e136cf38d6290cd/syntaxes/riscv.tmLanguage) | [MIT](https://raw.githubusercontent.com/zhuanhao-wu/vscode-riscv-support/master/LICENSE) | | | 6.33 kB |
|
|
191
|
-
| `ron` | | [a5huynh/vscode-ron](https://github.com/a5huynh/vscode-ron/blob/
|
|
191
|
+
| `ron` | | [a5huynh/vscode-ron](https://github.com/a5huynh/vscode-ron/blob/3acb0d97348c972b3b6f04b4e92901a541b22022/syntaxes/ron.tmGrammar.json) | [MIT](https://raw.githubusercontent.com/a5huynh/vscode-ron/master/LICENSE.md) | | | 3.70 kB |
|
|
192
192
|
| `rosmsg` | | [jtbandes/ros-tmlanguage](https://github.com/jtbandes/ros-tmlanguage/blob/d8ae27bc0d04498c01cb8dc77bfe2884474d9aba/ROS%20Interface.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/ros-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 4.24 kB |
|
|
193
193
|
| `rst` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/48e93f756b764991ede33ad09781a863aca6907a/extensions/restructuredtext/syntaxes/rst.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `html-derivative` `cpp` `python` `javascript` `shellscript` `yaml` `cmake` `ruby` | 9.07 kB |
|
|
194
194
|
| `ruby` | `rb` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/609f17a76734f092792a33c891af40bbcaea0c64/extensions/ruby/syntaxes/ruby.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `html` `haml` `xml` `sql` `graphql` `css` `cpp` `c` `javascript` `shellscript` `lua` `yaml` | 42.68 kB |
|
|
@@ -212,7 +212,7 @@ import { grammars } from 'tm-grammars'
|
|
|
212
212
|
| `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 |
|
|
213
213
|
| `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 |
|
|
214
214
|
| `surrealql` | `surql` | [surrealdb/surrealql-grammar](https://github.com/surrealdb/surrealql-grammar/blob/afb9c5362be1b291da3a6b7eb71902cc460759ed/syntaxes/surrealql.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/surrealdb/surrealql-grammar/main/LICENSE) | | `javascript` | 20.92 kB |
|
|
215
|
-
| `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/
|
|
215
|
+
| `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/32bd44e5af1eea464198cc6e841281b045e0f04d/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` | 17.21 kB |
|
|
216
216
|
| `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/3fca2fa10f7dc962d19ee617b17844d6eecfa2cb/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.77 kB |
|
|
217
217
|
| `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 |
|
|
218
218
|
| `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 |
|
package/grammars/nushell.json
CHANGED
|
@@ -286,10 +286,10 @@
|
|
|
286
286
|
"define-alias": {
|
|
287
287
|
"captures": {
|
|
288
288
|
"1": {
|
|
289
|
-
"name": "
|
|
289
|
+
"name": "storage.type.alias.nushell"
|
|
290
290
|
},
|
|
291
291
|
"2": {
|
|
292
|
-
"name": "entity.name.
|
|
292
|
+
"name": "entity.name.function.nushell"
|
|
293
293
|
},
|
|
294
294
|
"3": {
|
|
295
295
|
"patterns": [
|
|
@@ -355,10 +355,10 @@
|
|
|
355
355
|
"begin": "((?:export\\s+)?extern)\\s+([-\\w]+|\"[- \\w]+\")",
|
|
356
356
|
"beginCaptures": {
|
|
357
357
|
"1": {
|
|
358
|
-
"name": "
|
|
358
|
+
"name": "storage.type.function.nushell"
|
|
359
359
|
},
|
|
360
360
|
"2": {
|
|
361
|
-
"name": "entity.name.
|
|
361
|
+
"name": "entity.name.function.nushell"
|
|
362
362
|
}
|
|
363
363
|
},
|
|
364
364
|
"end": "(?<=])",
|
|
@@ -413,16 +413,16 @@
|
|
|
413
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
|
-
"name": "
|
|
416
|
+
"name": "storage.type.function.nushell"
|
|
417
417
|
},
|
|
418
418
|
"2": {
|
|
419
|
-
"name": "
|
|
419
|
+
"name": "storage.modifier.nushell"
|
|
420
420
|
},
|
|
421
421
|
"3": {
|
|
422
|
-
"name": "entity.name.
|
|
422
|
+
"name": "entity.name.function.nushell"
|
|
423
423
|
},
|
|
424
424
|
"4": {
|
|
425
|
-
"name": "
|
|
425
|
+
"name": "storage.modifier.nushell"
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
428
|
"end": "(?<=})",
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
"begin": "((?:export\\s+)?module)\\s+([-\\w]+)\\s*\\{",
|
|
587
587
|
"beginCaptures": {
|
|
588
588
|
"1": {
|
|
589
|
-
"name": "
|
|
589
|
+
"name": "storage.type.module.nushell"
|
|
590
590
|
},
|
|
591
591
|
"2": {
|
|
592
592
|
"name": "entity.name.namespace.nushell"
|
|
@@ -926,7 +926,7 @@
|
|
|
926
926
|
{
|
|
927
927
|
"captures": {
|
|
928
928
|
"1": {
|
|
929
|
-
"name": "
|
|
929
|
+
"name": "keyword.control.import.nushell"
|
|
930
930
|
},
|
|
931
931
|
"2": {
|
|
932
932
|
"name": "entity.name.namespace.nushell"
|
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
"begin": "^\\s*((?:export )?use)\\s+([-\\w]+|\"[- \\w]+\"|'[- \\w]+')\\s*\\[",
|
|
942
942
|
"beginCaptures": {
|
|
943
943
|
"1": {
|
|
944
|
-
"name": "
|
|
944
|
+
"name": "keyword.control.import.nushell"
|
|
945
945
|
},
|
|
946
946
|
"2": {
|
|
947
947
|
"name": "entity.name.namespace.nushell"
|
|
@@ -970,7 +970,7 @@
|
|
|
970
970
|
{
|
|
971
971
|
"captures": {
|
|
972
972
|
"2": {
|
|
973
|
-
"name": "
|
|
973
|
+
"name": "keyword.control.import.nushell"
|
|
974
974
|
},
|
|
975
975
|
"3": {
|
|
976
976
|
"name": "string.bare.nushell",
|
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
"begin": "(?<path>(?:[/\\\\]|~[/\\\\]|\\.\\.?[/\\\\])?(?:[^/\\\\]+[/\\\\])*[- \\w]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+(\"\\g<path>\"|'\\g<path>'|(?![\"'])\\g<path>)\\s+\\[",
|
|
996
996
|
"beginCaptures": {
|
|
997
997
|
"2": {
|
|
998
|
-
"name": "
|
|
998
|
+
"name": "keyword.control.import.nushell"
|
|
999
999
|
},
|
|
1000
1000
|
"3": {
|
|
1001
1001
|
"name": "string.bare.nushell",
|
|
@@ -1034,7 +1034,7 @@
|
|
|
1034
1034
|
{
|
|
1035
1035
|
"captures": {
|
|
1036
1036
|
"0": {
|
|
1037
|
-
"name": "
|
|
1037
|
+
"name": "keyword.control.import.nushell"
|
|
1038
1038
|
}
|
|
1039
1039
|
},
|
|
1040
1040
|
"match": "^\\s*(?:export )?use\\b"
|
package/grammars/ron.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"include": "#value"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"include": "#
|
|
28
|
+
"include": "#struct-name"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"meta_scope": "meta.structure.array.ron"
|
|
@@ -35,13 +35,23 @@
|
|
|
35
35
|
"block_comment": {
|
|
36
36
|
"begin": "/\\*",
|
|
37
37
|
"end": "\\*/",
|
|
38
|
-
"name": "comment.block.ron"
|
|
38
|
+
"name": "comment.block.ron",
|
|
39
|
+
"patterns": [
|
|
40
|
+
{
|
|
41
|
+
"include": "#block_comment"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
39
44
|
},
|
|
40
45
|
"character": {
|
|
41
46
|
"begin": "'",
|
|
42
47
|
"contentName": "constant.character.ron",
|
|
43
48
|
"end": "'",
|
|
44
|
-
"name": "string.quoted.single"
|
|
49
|
+
"name": "string.quoted.single",
|
|
50
|
+
"patterns": [
|
|
51
|
+
{
|
|
52
|
+
"include": "#escapes"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
45
55
|
},
|
|
46
56
|
"constant": {
|
|
47
57
|
"match": "\\b(true|false)\\b",
|
|
@@ -65,13 +75,13 @@
|
|
|
65
75
|
"include": "#value"
|
|
66
76
|
},
|
|
67
77
|
{
|
|
68
|
-
"include": "#
|
|
78
|
+
"include": "#struct-name"
|
|
69
79
|
},
|
|
70
80
|
{
|
|
71
81
|
"include": "#object"
|
|
72
82
|
},
|
|
73
83
|
{
|
|
74
|
-
"include": "#
|
|
84
|
+
"include": "#enum-variant"
|
|
75
85
|
},
|
|
76
86
|
{
|
|
77
87
|
"match": ",",
|
|
@@ -83,6 +93,10 @@
|
|
|
83
93
|
}
|
|
84
94
|
]
|
|
85
95
|
},
|
|
96
|
+
"enum-variant": {
|
|
97
|
+
"match": "[_a-z][0-9A-Z_a-z]*",
|
|
98
|
+
"name": "entity.name.tag.ron"
|
|
99
|
+
},
|
|
86
100
|
"escapes": {
|
|
87
101
|
"captures": {
|
|
88
102
|
"1": {
|
|
@@ -125,7 +139,13 @@
|
|
|
125
139
|
"include": "#number"
|
|
126
140
|
},
|
|
127
141
|
{
|
|
128
|
-
"include": "#
|
|
142
|
+
"include": "#raw_string"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"include": "#struct-field"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"include": "#struct-name"
|
|
129
149
|
},
|
|
130
150
|
{
|
|
131
151
|
"include": "#object"
|
|
@@ -137,7 +157,7 @@
|
|
|
137
157
|
"include": "#character"
|
|
138
158
|
},
|
|
139
159
|
{
|
|
140
|
-
"include": "#
|
|
160
|
+
"include": "#enum-variant"
|
|
141
161
|
}
|
|
142
162
|
]
|
|
143
163
|
},
|
|
@@ -147,20 +167,36 @@
|
|
|
147
167
|
"name": "comment.line.double-slash.ron"
|
|
148
168
|
},
|
|
149
169
|
"number": {
|
|
150
|
-
"
|
|
151
|
-
|
|
170
|
+
"patterns": [
|
|
171
|
+
{
|
|
172
|
+
"match": "-?\\b0x[_\\h]+\\b",
|
|
173
|
+
"name": "constant.numeric.hex.ron"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"match": "-?\\b0b[01_]+\\b",
|
|
177
|
+
"name": "constant.numeric.binary.ron"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"match": "-?\\b0o[0-7_]+\\b",
|
|
181
|
+
"name": "constant.numeric.octal.ron"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"match": "-?\\b[0-9][0-9_]*(?:\\.[0-9][0-9_]*)?(?:[Ee][-+]?[0-9_]+)?\\b",
|
|
185
|
+
"name": "constant.numeric.ron"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
152
188
|
},
|
|
153
189
|
"object": {
|
|
154
190
|
"begin": "\\(",
|
|
155
191
|
"beginCaptures": {
|
|
156
192
|
"0": {
|
|
157
|
-
"name": "punctuation.section.
|
|
193
|
+
"name": "punctuation.section.parens.begin.ron"
|
|
158
194
|
}
|
|
159
195
|
},
|
|
160
196
|
"end": "\\)",
|
|
161
197
|
"endCaptures": {
|
|
162
198
|
"0": {
|
|
163
|
-
"name": "punctuation.section.
|
|
199
|
+
"name": "punctuation.section.parens.end.ron"
|
|
164
200
|
}
|
|
165
201
|
},
|
|
166
202
|
"patterns": [
|
|
@@ -171,19 +207,52 @@
|
|
|
171
207
|
"include": "#dictionary"
|
|
172
208
|
},
|
|
173
209
|
{
|
|
174
|
-
"include": "#
|
|
210
|
+
"include": "#struct-field"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"include": "#struct-name"
|
|
175
214
|
},
|
|
176
215
|
{
|
|
177
|
-
"include": "#
|
|
216
|
+
"include": "#enum-variant"
|
|
178
217
|
},
|
|
179
218
|
{
|
|
180
219
|
"include": "#object"
|
|
181
220
|
}
|
|
182
221
|
]
|
|
183
222
|
},
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
|
|
223
|
+
"raw_string": {
|
|
224
|
+
"patterns": [
|
|
225
|
+
{
|
|
226
|
+
"begin": "r#{5}\"",
|
|
227
|
+
"end": "\"#{5}",
|
|
228
|
+
"name": "string.quoted.other.raw.ron"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"begin": "r#{4}\"",
|
|
232
|
+
"end": "\"#{4}",
|
|
233
|
+
"name": "string.quoted.other.raw.ron"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"begin": "r#{3}\"",
|
|
237
|
+
"end": "\"#{3}",
|
|
238
|
+
"name": "string.quoted.other.raw.ron"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"begin": "r#{2}\"",
|
|
242
|
+
"end": "\"#{2}",
|
|
243
|
+
"name": "string.quoted.other.raw.ron"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"begin": "r#\"",
|
|
247
|
+
"end": "\"#",
|
|
248
|
+
"name": "string.quoted.other.raw.ron"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"begin": "r\"",
|
|
252
|
+
"end": "\"",
|
|
253
|
+
"name": "string.quoted.other.raw.ron"
|
|
254
|
+
}
|
|
255
|
+
]
|
|
187
256
|
},
|
|
188
257
|
"string": {
|
|
189
258
|
"begin": "(b?)(\")",
|
|
@@ -195,9 +264,20 @@
|
|
|
195
264
|
}
|
|
196
265
|
]
|
|
197
266
|
},
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
|
|
267
|
+
"struct-field": {
|
|
268
|
+
"captures": {
|
|
269
|
+
"1": {
|
|
270
|
+
"name": "variable.other.member.ron"
|
|
271
|
+
},
|
|
272
|
+
"2": {
|
|
273
|
+
"name": "punctuation.separator.key-value.ron"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"match": "([_a-z][0-9A-Z_a-z]*)\\s*(:)"
|
|
277
|
+
},
|
|
278
|
+
"struct-name": {
|
|
279
|
+
"match": "[A-Z][0-9A-Z_a-z]*",
|
|
280
|
+
"name": "entity.name.type.ron"
|
|
201
281
|
},
|
|
202
282
|
"value": {
|
|
203
283
|
"patterns": [
|
|
@@ -222,6 +302,9 @@
|
|
|
222
302
|
{
|
|
223
303
|
"include": "#object"
|
|
224
304
|
},
|
|
305
|
+
{
|
|
306
|
+
"include": "#raw_string"
|
|
307
|
+
},
|
|
225
308
|
{
|
|
226
309
|
"include": "#string"
|
|
227
310
|
},
|
package/grammars/svelte.json
CHANGED
|
@@ -230,6 +230,9 @@
|
|
|
230
230
|
"repository": {
|
|
231
231
|
"attributes": {
|
|
232
232
|
"patterns": [
|
|
233
|
+
{
|
|
234
|
+
"include": "#attributes-comments"
|
|
235
|
+
},
|
|
233
236
|
{
|
|
234
237
|
"include": "#attributes-directives"
|
|
235
238
|
},
|
|
@@ -259,6 +262,19 @@
|
|
|
259
262
|
}
|
|
260
263
|
]
|
|
261
264
|
},
|
|
265
|
+
"attributes-comments": {
|
|
266
|
+
"patterns": [
|
|
267
|
+
{
|
|
268
|
+
"match": "//.*$",
|
|
269
|
+
"name": "comment.line.double-slash.svelte"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"begin": "/\\*",
|
|
273
|
+
"end": "\\*/",
|
|
274
|
+
"name": "comment.block.svelte"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
262
278
|
"attributes-directives": {
|
|
263
279
|
"begin": "(?<!<)(on|use|bind|transition|in|out|animate|let|class|style)(:)(?:((?:--)?[$_[:alpha:]][-$_[:alnum:]]*(?=\\s*=))|((?:--)?[$_[:alpha:]][-$_[:alnum:]]*))((\\|\\w+)*)",
|
|
264
280
|
"beginCaptures": {
|
package/index.js
CHANGED
|
@@ -2863,19 +2863,19 @@ export const grammars = [
|
|
|
2863
2863
|
aliases: [
|
|
2864
2864
|
'nu',
|
|
2865
2865
|
],
|
|
2866
|
-
byteSize:
|
|
2866
|
+
byteSize: 19714,
|
|
2867
2867
|
displayName: 'nushell',
|
|
2868
2868
|
funding: [
|
|
2869
2869
|
],
|
|
2870
|
-
hash: '
|
|
2871
|
-
lastUpdate: '
|
|
2870
|
+
hash: 'PKcKLXhF3NG7pOaSXUL6w-s8e5I2tUx0j-Ee5veaz8s',
|
|
2871
|
+
lastUpdate: '2026-02-14T13:31:19Z',
|
|
2872
2872
|
license: 'MIT',
|
|
2873
2873
|
licenseUrl: 'https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE',
|
|
2874
2874
|
name: 'nushell',
|
|
2875
2875
|
scopeName: 'source.nushell',
|
|
2876
|
-
sha: '
|
|
2877
|
-
source: 'https://github.com/nushell/vscode-nushell-lang/blob/
|
|
2878
|
-
sourceApi: 'https://api.github.com/repos/nushell/vscode-nushell-lang/contents/syntaxes/nushell.tmLanguage.json?ref=
|
|
2876
|
+
sha: '301f93bb350bc0a8db47d4e0cf23b412cbc8f4b7',
|
|
2877
|
+
source: 'https://github.com/nushell/vscode-nushell-lang/blob/301f93bb350bc0a8db47d4e0cf23b412cbc8f4b7/syntaxes/nushell.tmLanguage.json',
|
|
2878
|
+
sourceApi: 'https://api.github.com/repos/nushell/vscode-nushell-lang/contents/syntaxes/nushell.tmLanguage.json?ref=301f93bb350bc0a8db47d4e0cf23b412cbc8f4b7',
|
|
2879
2879
|
},
|
|
2880
2880
|
{
|
|
2881
2881
|
aliases: [
|
|
@@ -3525,22 +3525,22 @@ export const grammars = [
|
|
|
3525
3525
|
sourceApi: 'https://api.github.com/repos/zhuanhao-wu/vscode-riscv-support/contents/syntaxes/riscv.tmLanguage?ref=2736b60e45ff2ef738d784055e136cf38d6290cd',
|
|
3526
3526
|
},
|
|
3527
3527
|
{
|
|
3528
|
-
byteSize:
|
|
3528
|
+
byteSize: 3788,
|
|
3529
3529
|
categories: [
|
|
3530
3530
|
'data',
|
|
3531
3531
|
],
|
|
3532
3532
|
displayName: 'RON',
|
|
3533
3533
|
funding: [
|
|
3534
3534
|
],
|
|
3535
|
-
hash: '
|
|
3536
|
-
lastUpdate: '
|
|
3535
|
+
hash: 'ZqGxRgMb2tHL2-0nZiOsIY_td3bRNEbhNpBlrscx9xk',
|
|
3536
|
+
lastUpdate: '2026-02-14T18:57:05Z',
|
|
3537
3537
|
license: 'MIT',
|
|
3538
3538
|
licenseUrl: 'https://raw.githubusercontent.com/a5huynh/vscode-ron/master/LICENSE.md',
|
|
3539
3539
|
name: 'ron',
|
|
3540
3540
|
scopeName: 'source.ron',
|
|
3541
|
-
sha: '
|
|
3542
|
-
source: 'https://github.com/a5huynh/vscode-ron/blob/
|
|
3543
|
-
sourceApi: 'https://api.github.com/repos/a5huynh/vscode-ron/contents/syntaxes/ron.tmGrammar.json?ref=
|
|
3541
|
+
sha: '3acb0d97348c972b3b6f04b4e92901a541b22022',
|
|
3542
|
+
source: 'https://github.com/a5huynh/vscode-ron/blob/3acb0d97348c972b3b6f04b4e92901a541b22022/syntaxes/ron.tmGrammar.json',
|
|
3543
|
+
sourceApi: 'https://api.github.com/repos/a5huynh/vscode-ron/contents/syntaxes/ron.tmGrammar.json?ref=3acb0d97348c972b3b6f04b4e92901a541b22022',
|
|
3544
3544
|
},
|
|
3545
3545
|
{
|
|
3546
3546
|
byteSize: 4345,
|
|
@@ -4023,7 +4023,7 @@ export const grammars = [
|
|
|
4023
4023
|
sourceApi: 'https://api.github.com/repos/surrealdb/surrealql-grammar/contents/syntaxes/surrealql.tmLanguage.json?ref=afb9c5362be1b291da3a6b7eb71902cc460759ed',
|
|
4024
4024
|
},
|
|
4025
4025
|
{
|
|
4026
|
-
byteSize:
|
|
4026
|
+
byteSize: 17626,
|
|
4027
4027
|
categories: [
|
|
4028
4028
|
'web',
|
|
4029
4029
|
],
|
|
@@ -4048,15 +4048,15 @@ export const grammars = [
|
|
|
4048
4048
|
url: 'https://opencollective.com/svelte',
|
|
4049
4049
|
},
|
|
4050
4050
|
],
|
|
4051
|
-
hash: '
|
|
4052
|
-
lastUpdate: '
|
|
4051
|
+
hash: '-YTsNpoDnZ095A8rWesBfONWtrrdl1JQBEAk5miqegQ',
|
|
4052
|
+
lastUpdate: '2026-02-18T22:39:19Z',
|
|
4053
4053
|
license: 'MIT',
|
|
4054
4054
|
licenseUrl: 'https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE',
|
|
4055
4055
|
name: 'svelte',
|
|
4056
4056
|
scopeName: 'source.svelte',
|
|
4057
|
-
sha: '
|
|
4058
|
-
source: 'https://github.com/sveltejs/language-tools/blob/
|
|
4059
|
-
sourceApi: 'https://api.github.com/repos/sveltejs/language-tools/contents/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml?ref=
|
|
4057
|
+
sha: '32bd44e5af1eea464198cc6e841281b045e0f04d',
|
|
4058
|
+
source: 'https://github.com/sveltejs/language-tools/blob/32bd44e5af1eea464198cc6e841281b045e0f04d/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml',
|
|
4059
|
+
sourceApi: 'https://api.github.com/repos/sveltejs/language-tools/contents/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml?ref=32bd44e5af1eea464198cc6e841281b045e0f04d',
|
|
4060
4060
|
},
|
|
4061
4061
|
{
|
|
4062
4062
|
byteSize: 83734,
|