tm-grammars 1.24.25 → 1.25.1

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.
@@ -0,0 +1,343 @@
1
+ {
2
+ "displayName": "ROS Interface",
3
+ "fileTypes": [
4
+ "msg",
5
+ "srv",
6
+ "action"
7
+ ],
8
+ "name": "rosmsg",
9
+ "patterns": [
10
+ {
11
+ "include": "#separators"
12
+ },
13
+ {
14
+ "include": "#lines"
15
+ },
16
+ {
17
+ "include": "#comments"
18
+ }
19
+ ],
20
+ "repository": {
21
+ "attributes": {
22
+ "match": "@optional\\b",
23
+ "name": "storage.modifier.attribute.rosmsg"
24
+ },
25
+ "builtin-types": {
26
+ "match": "\\b(?:bool|byte|char|u?int(?:8|16|32|64)|float(?:32|64)|w?string|time|duration)\\b",
27
+ "name": "storage.type.rosmsg"
28
+ },
29
+ "comments": {
30
+ "match": "#.*",
31
+ "name": "comment.line.number-sign.rosmsg"
32
+ },
33
+ "field-other": {
34
+ "begin": "(?=\\b[A-Z_a-z])",
35
+ "end": "$|(?=#)",
36
+ "patterns": [
37
+ {
38
+ "captures": {
39
+ "0": {
40
+ "patterns": [
41
+ {
42
+ "include": "#builtin-types"
43
+ }
44
+ ]
45
+ }
46
+ },
47
+ "match": "\\G[/-9A-Z_a-z]+",
48
+ "name": "support.type.rosmsg"
49
+ },
50
+ {
51
+ "match": "\\d+",
52
+ "name": "constant.numeric.integer.rosmsg"
53
+ },
54
+ {
55
+ "begin": "(?=[A-Z_a-z])",
56
+ "end": "$|(?=#)",
57
+ "patterns": [
58
+ {
59
+ "include": "#field-other-after-type"
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ },
65
+ "field-other-after-type": {
66
+ "patterns": [
67
+ {
68
+ "match": "\\G[0-9A-Z_a-z]+",
69
+ "name": "variable.other.field.rosmsg"
70
+ },
71
+ {
72
+ "begin": "",
73
+ "end": "$|(?=#)",
74
+ "patterns": [
75
+ {
76
+ "include": "#literal-other"
77
+ },
78
+ {
79
+ "include": "#literal-other-array"
80
+ }
81
+ ]
82
+ }
83
+ ]
84
+ },
85
+ "field-string": {
86
+ "begin": "(?=\\bw?string\\b)",
87
+ "end": "$|(?=#)",
88
+ "patterns": [
89
+ {
90
+ "captures": {
91
+ "0": {
92
+ "name": "storage.type.rosmsg"
93
+ }
94
+ },
95
+ "match": "\\Gw?string\\b"
96
+ },
97
+ {
98
+ "match": "\\d+",
99
+ "name": "constant.numeric.integer.rosmsg"
100
+ },
101
+ {
102
+ "begin": "(?=[A-Z_a-z])",
103
+ "end": "$|(?=#)",
104
+ "patterns": [
105
+ {
106
+ "include": "#field-string-after-type"
107
+ }
108
+ ]
109
+ }
110
+ ]
111
+ },
112
+ "field-string-after-type": {
113
+ "patterns": [
114
+ {
115
+ "match": "\\G[0-9A-Z_a-z]+",
116
+ "name": "variable.other.field.rosmsg"
117
+ },
118
+ {
119
+ "begin": "=|(?<=\\s)",
120
+ "end": "$|(?=#)",
121
+ "patterns": [
122
+ {
123
+ "include": "#literal-string"
124
+ }
125
+ ]
126
+ }
127
+ ]
128
+ },
129
+ "field-string-array": {
130
+ "begin": "(?=\\bw?string[<=\\d]*\\[)",
131
+ "end": "$|(?=#)",
132
+ "patterns": [
133
+ {
134
+ "captures": {
135
+ "0": {
136
+ "name": "storage.type.rosmsg"
137
+ }
138
+ },
139
+ "match": "\\Gw?string\\b",
140
+ "name": "support.type.rosmsg"
141
+ },
142
+ {
143
+ "match": "\\d+",
144
+ "name": "constant.numeric.integer.rosmsg"
145
+ },
146
+ {
147
+ "begin": "(?=[A-Z_a-z])",
148
+ "end": "$|(?=#)",
149
+ "patterns": [
150
+ {
151
+ "include": "#field-string-array-after-type"
152
+ }
153
+ ]
154
+ }
155
+ ]
156
+ },
157
+ "field-string-array-after-type": {
158
+ "patterns": [
159
+ {
160
+ "match": "\\G[0-9A-Z_a-z]+",
161
+ "name": "variable.other.field.rosmsg"
162
+ },
163
+ {
164
+ "begin": "(?<=\\s)",
165
+ "end": "$|(?=#)",
166
+ "name": "meta.default-value.rosmsg",
167
+ "patterns": [
168
+ {
169
+ "include": "#literal-string-array"
170
+ }
171
+ ]
172
+ }
173
+ ]
174
+ },
175
+ "lines": {
176
+ "patterns": [
177
+ {
178
+ "include": "#attributes"
179
+ },
180
+ {
181
+ "include": "#field-string-array"
182
+ },
183
+ {
184
+ "include": "#field-string"
185
+ },
186
+ {
187
+ "include": "#field-other"
188
+ }
189
+ ]
190
+ },
191
+ "literal-other": {
192
+ "patterns": [
193
+ {
194
+ "match": "[-+]?(?:(?:\\d+(?:_\\d+)*)?\\.\\d+(?:_\\d+)*|\\d+(?:_\\d+)*\\.)(?:[Ee][-+]?\\d+(?:_\\d+)*)?",
195
+ "name": "constant.numeric.float.rosmsg"
196
+ },
197
+ {
198
+ "match": "[-+]?\\d+(?:_\\d+)*",
199
+ "name": "constant.numeric.integer.rosmsg"
200
+ },
201
+ {
202
+ "match": "(?i)\\b(?:true|false)\\b",
203
+ "name": "constant.language.boolean.rosmsg"
204
+ }
205
+ ]
206
+ },
207
+ "literal-other-array": {
208
+ "patterns": [
209
+ {
210
+ "begin": "\\[",
211
+ "end": "]|$|(?=#)",
212
+ "name": "meta.array.rosmsg",
213
+ "patterns": [
214
+ {
215
+ "include": "#literal-other"
216
+ }
217
+ ]
218
+ }
219
+ ]
220
+ },
221
+ "literal-string": {
222
+ "patterns": [
223
+ {
224
+ "include": "#literal-string-quoted"
225
+ },
226
+ {
227
+ "include": "#literal-string-unquoted"
228
+ }
229
+ ]
230
+ },
231
+ "literal-string-array": {
232
+ "patterns": [
233
+ {
234
+ "begin": "\\[",
235
+ "end": "]|$|(?=#)",
236
+ "name": "meta.array.rosmsg",
237
+ "patterns": [
238
+ {
239
+ "include": "#literal-string-quoted"
240
+ },
241
+ {
242
+ "include": "#literal-string-unquoted-in-array"
243
+ }
244
+ ]
245
+ }
246
+ ]
247
+ },
248
+ "literal-string-escape": {
249
+ "patterns": [
250
+ {
251
+ "match": "\\\\(?:[0-7]{3}|x\\h{2}|u\\h{4}|U\\h{8}|.)",
252
+ "name": "constant.character.escape.rosmsg"
253
+ }
254
+ ]
255
+ },
256
+ "literal-string-quoted": {
257
+ "patterns": [
258
+ {
259
+ "begin": "\"",
260
+ "beginCaptures": {
261
+ "0": {
262
+ "name": "punctuation.definition.string.begin.rosmsg"
263
+ }
264
+ },
265
+ "end": "\"|$",
266
+ "endCaptures": {
267
+ "0": {
268
+ "name": "punctuation.definition.string.end.rosmsg"
269
+ }
270
+ },
271
+ "name": "string.quoted.double.rosmsg",
272
+ "patterns": [
273
+ {
274
+ "include": "#literal-string-escape"
275
+ }
276
+ ]
277
+ },
278
+ {
279
+ "begin": "'",
280
+ "beginCaptures": {
281
+ "0": {
282
+ "name": "punctuation.definition.string.begin.rosmsg"
283
+ }
284
+ },
285
+ "end": "'|$",
286
+ "endCaptures": {
287
+ "0": {
288
+ "name": "punctuation.definition.string.end.rosmsg"
289
+ }
290
+ },
291
+ "name": "string.quoted.single.rosmsg",
292
+ "patterns": [
293
+ {
294
+ "include": "#literal-string-escape"
295
+ }
296
+ ]
297
+ }
298
+ ]
299
+ },
300
+ "literal-string-unquoted": {
301
+ "begin": "(?=[^\"'\\s])",
302
+ "end": "(?=\\s*(?:#|$))",
303
+ "name": "string.unquoted.rosmsg",
304
+ "patterns": [
305
+ {
306
+ "include": "#literal-string-escape"
307
+ }
308
+ ]
309
+ },
310
+ "literal-string-unquoted-in-array": {
311
+ "begin": "(?=[^]\"',\\s])",
312
+ "end": "(?=\\s*(?:$|[],]))",
313
+ "name": "string.unquoted.rosmsg",
314
+ "patterns": [
315
+ {
316
+ "include": "#literal-string-escape"
317
+ }
318
+ ]
319
+ },
320
+ "separators": {
321
+ "patterns": [
322
+ {
323
+ "match": "^---\\s*$\\n?",
324
+ "name": "meta.separator.rosmsg"
325
+ },
326
+ {
327
+ "match": "^={3,}\\s*$\\n?",
328
+ "name": "meta.separator.rosmsg"
329
+ },
330
+ {
331
+ "captures": {
332
+ "1": {
333
+ "name": "entity.name.type.class.rosmsg"
334
+ }
335
+ },
336
+ "match": "^MSG:\\s+([/-9A-Z_a-z]+)\\s*$\\n?",
337
+ "name": "meta.separator.rosmsg"
338
+ }
339
+ ]
340
+ }
341
+ },
342
+ "scopeName": "source.rosmsg"
343
+ }
package/grammars/v.json CHANGED
@@ -3,9 +3,7 @@
3
3
  "fileTypes": [
4
4
  ".v",
5
5
  ".vh",
6
- ".vsh",
7
- ".vv",
8
- "v.mod"
6
+ ".vsh"
9
7
  ],
10
8
  "name": "v",
11
9
  "patterns": [
package/index.js CHANGED
@@ -1803,6 +1803,28 @@ export const grammars = [
1803
1803
  source: 'https://github.com/Huachao/vscode-restclient/blob/6649589e4d3f97d9c0d68a4f7ffe03fa2919c4df/syntaxes/http.tmLanguage.json',
1804
1804
  sourceApi: 'https://api.github.com/repos/Huachao/vscode-restclient/contents/syntaxes/http.tmLanguage.json?ref=6649589e4d3f97d9c0d68a4f7ffe03fa2919c4df',
1805
1805
  },
1806
+ {
1807
+ byteSize: 3205,
1808
+ categories: [
1809
+ 'web',
1810
+ 'utility',
1811
+ ],
1812
+ displayName: 'Hurl',
1813
+ embedded: [
1814
+ 'graphql',
1815
+ 'xml',
1816
+ 'csv',
1817
+ ],
1818
+ funding: [
1819
+ ],
1820
+ hash: 'SU2VNJT2rBK9kdhsuxFerB7zqB05sEQL94-wWHiB1v8',
1821
+ lastUpdate: '2025-10-08T13:05:49Z',
1822
+ name: 'hurl',
1823
+ scopeName: 'source.hurl',
1824
+ sha: 'dec5d90bea8a13d21fd8365d5a0d2d35453653c1',
1825
+ source: 'https://github.com/nikeee/language-hurl/blob/dec5d90bea8a13d21fd8365d5a0d2d35453653c1/grammars/hurl.tmlanguage.json',
1826
+ sourceApi: 'https://api.github.com/repos/nikeee/language-hurl/contents/grammars/hurl.tmlanguage.json?ref=dec5d90bea8a13d21fd8365d5a0d2d35453653c1',
1827
+ },
1806
1828
  {
1807
1829
  byteSize: 1581,
1808
1830
  categories: [
@@ -1902,6 +1924,8 @@ export const grammars = [
1902
1924
  {
1903
1925
  aliases: [
1904
1926
  'js',
1927
+ 'cjs',
1928
+ 'mjs',
1905
1929
  ],
1906
1930
  byteSize: 159323,
1907
1931
  categories: [
@@ -1912,7 +1936,7 @@ export const grammars = [
1912
1936
  displayName: 'JavaScript',
1913
1937
  funding: [
1914
1938
  ],
1915
- hash: 'HIo9PZGVK_m6dUZAv28Uhk-RQm0ePcwzhgtqoNXhbN8',
1939
+ hash: 'SHSs1nFDVLpgj0muQZurWFVofgS7mKzxFdkoKKCmfyc',
1916
1940
  lastUpdate: '2024-10-25T09:35:17Z',
1917
1941
  license: 'MIT',
1918
1942
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
@@ -2127,6 +2151,29 @@ export const grammars = [
2127
2151
  source: 'https://github.com/microsoft/vscode/blob/f8bb386a48f799f890d00f217a90f615c9b3866c/extensions/julia/syntaxes/julia.tmLanguage.json',
2128
2152
  sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/julia/syntaxes/julia.tmLanguage.json?ref=f8bb386a48f799f890d00f217a90f615c9b3866c',
2129
2153
  },
2154
+ {
2155
+ byteSize: 3424,
2156
+ categories: [
2157
+ 'markup',
2158
+ ],
2159
+ displayName: 'KDL',
2160
+ funding: [
2161
+ {
2162
+ handle: '@zkat',
2163
+ name: 'GitHub Sponsors',
2164
+ url: 'https://github.com/sponsors/zkat',
2165
+ },
2166
+ ],
2167
+ hash: 'Ct0aTVdpW2QTQS9PVefrrxtxH20F0ut0vz3yP_vH26g',
2168
+ lastUpdate: '2024-12-18T21:36:48Z',
2169
+ license: 'Apache-2.0',
2170
+ licenseUrl: 'https://raw.githubusercontent.com/kdl-org/vscode-kdl/main/LICENSE',
2171
+ name: 'kdl',
2172
+ scopeName: 'source.kdl',
2173
+ sha: 'b986286d526d3dba7f5121956a52ce300c3418f0',
2174
+ source: 'https://github.com/kdl-org/vscode-kdl/blob/b986286d526d3dba7f5121956a52ce300c3418f0/syntaxes/kdl.tmLanguage.json',
2175
+ sourceApi: 'https://api.github.com/repos/kdl-org/vscode-kdl/contents/syntaxes/kdl.tmLanguage.json?ref=b986286d526d3dba7f5121956a52ce300c3418f0',
2176
+ },
2130
2177
  {
2131
2178
  aliases: [
2132
2179
  'kt',
@@ -2504,7 +2551,7 @@ export const grammars = [
2504
2551
  hash: 'nwlm7swdVMmPwJth5yJFbQFefOIZKt1CCvXRjLYXfBA',
2505
2552
  lastUpdate: '2025-02-24T11:33:21Z',
2506
2553
  license: 'MIT',
2507
- licenseUrl: 'https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE',
2554
+ licenseUrl: 'https://raw.githubusercontent.com/nuxt-content/vscode-mdc/main/LICENSE',
2508
2555
  name: 'mdc',
2509
2556
  scopeName: 'text.markdown.mdc.standalone',
2510
2557
  sha: '96f619ccd8df724e5bd94eb28b87e03b769a8c41',
@@ -2903,6 +2950,24 @@ export const grammars = [
2903
2950
  source: 'https://github.com/microsoft/vscode/blob/0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4/extensions/php/syntaxes/php.tmLanguage.json',
2904
2951
  sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/php/syntaxes/php.tmLanguage.json?ref=0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4',
2905
2952
  },
2953
+ {
2954
+ byteSize: 9546,
2955
+ categories: [
2956
+ 'data',
2957
+ ],
2958
+ displayName: 'Pkl',
2959
+ funding: [
2960
+ ],
2961
+ hash: '-KSZ6s_4k8ymotf-Ux9i9YEST0hgUmdP8tDq7R61L3w',
2962
+ lastUpdate: '2024-02-21T10:36:39Z',
2963
+ license: 'Apache-2.0',
2964
+ licenseUrl: 'https://raw.githubusercontent.com/apple/pkl.tmbundle/main/LICENSE.txt',
2965
+ name: 'pkl',
2966
+ scopeName: 'source.pkl',
2967
+ sha: '4ed6ca67ec7579b7a3a86b96ee89874ae825f15f',
2968
+ source: 'https://github.com/apple/pkl.tmbundle/blob/4ed6ca67ec7579b7a3a86b96ee89874ae825f15f/Syntaxes/pkl.tmLanguage',
2969
+ sourceApi: 'https://api.github.com/repos/apple/pkl.tmbundle/contents/Syntaxes/pkl.tmLanguage?ref=4ed6ca67ec7579b7a3a86b96ee89874ae825f15f',
2970
+ },
2906
2971
  {
2907
2972
  byteSize: 8125,
2908
2973
  displayName: 'PL/SQL',
@@ -3352,6 +3417,34 @@ export const grammars = [
3352
3417
  source: 'https://github.com/zhuanhao-wu/vscode-riscv-support/blob/2736b60e45ff2ef738d784055e136cf38d6290cd/syntaxes/riscv.tmLanguage',
3353
3418
  sourceApi: 'https://api.github.com/repos/zhuanhao-wu/vscode-riscv-support/contents/syntaxes/riscv.tmLanguage?ref=2736b60e45ff2ef738d784055e136cf38d6290cd',
3354
3419
  },
3420
+ {
3421
+ byteSize: 4345,
3422
+ categories: [
3423
+ 'general',
3424
+ ],
3425
+ displayName: 'ROS Interface',
3426
+ funding: [
3427
+ {
3428
+ handle: '@jtbandes',
3429
+ name: 'GitHub Sponsors',
3430
+ url: 'https://github.com/sponsors/jtbandes',
3431
+ },
3432
+ {
3433
+ handle: 'jtbandes',
3434
+ name: 'Ko-fi',
3435
+ url: 'https://ko-fi.com/jtbandes',
3436
+ },
3437
+ ],
3438
+ hash: 'z71ww3SYx2XgzRFYSUd5Iipdze7YdT4o5pR59YN6sz0',
3439
+ lastUpdate: '2025-08-13T18:44:58Z',
3440
+ license: 'MIT',
3441
+ licenseUrl: 'https://raw.githubusercontent.com/jtbandes/ros-tmlanguage/main/LICENSE.md',
3442
+ name: 'rosmsg',
3443
+ scopeName: 'source.rosmsg',
3444
+ sha: 'd8ae27bc0d04498c01cb8dc77bfe2884474d9aba',
3445
+ source: 'https://github.com/jtbandes/ros-tmlanguage/blob/d8ae27bc0d04498c01cb8dc77bfe2884474d9aba/ROS%20Interface.tmLanguage.yaml',
3446
+ sourceApi: 'https://api.github.com/repos/jtbandes/ros-tmlanguage/contents/ROS%20Interface.tmLanguage.yaml?ref=d8ae27bc0d04498c01cb8dc77bfe2884474d9aba',
3447
+ },
3355
3448
  {
3356
3449
  byteSize: 9291,
3357
3450
  categories: [
@@ -4108,6 +4201,8 @@ export const grammars = [
4108
4201
  {
4109
4202
  aliases: [
4110
4203
  'ts',
4204
+ 'cts',
4205
+ 'mts',
4111
4206
  ],
4112
4207
  byteSize: 163871,
4113
4208
  categories: [
@@ -4118,7 +4213,7 @@ export const grammars = [
4118
4213
  displayName: 'TypeScript',
4119
4214
  funding: [
4120
4215
  ],
4121
- hash: 'AJ9y77GwIbSXydPeC63OBqQyKunnZoz1MlEF6MkbhQk',
4216
+ hash: 'dKMZLHa4i_fHhWvcXg-Y2d55GMmlJZkmLkaWN2efAV0',
4122
4217
  lastUpdate: '2024-10-25T09:35:17Z',
4123
4218
  license: 'MIT',
4124
4219
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
@@ -4165,19 +4260,19 @@ export const grammars = [
4165
4260
  sourceApi: 'https://api.github.com/repos/nvarner/typst-lsp/contents/editors/vscode/typst.tmLanguage.json?ref=6972d4b9c2cbcb0551e203067f09ec84ca8f9df3',
4166
4261
  },
4167
4262
  {
4168
- byteSize: 12744,
4263
+ byteSize: 12730,
4169
4264
  displayName: 'V',
4170
4265
  funding: [
4171
4266
  ],
4172
- hash: 'rZsyeKnT17_9HRGMDyL9XboadtgzNTsfCp8LTIzyenM',
4173
- lastUpdate: '2023-01-09T21:56:12Z',
4267
+ hash: 'dZDSrfC42X6dLrbd_phVVq3-dk9FI0thmjM95xblEvA',
4268
+ lastUpdate: '2025-10-25T23:09:16Z',
4174
4269
  license: 'MIT',
4175
4270
  licenseUrl: 'https://raw.githubusercontent.com/vlang/vscode-vlang/master/LICENSE',
4176
4271
  name: 'v',
4177
4272
  scopeName: 'source.v',
4178
- sha: 'b1f529602bc6536ad8967373302e151e77179598',
4179
- source: 'https://github.com/vlang/vscode-vlang/blob/b1f529602bc6536ad8967373302e151e77179598/syntaxes/v.tmLanguage.json',
4180
- sourceApi: 'https://api.github.com/repos/vlang/vscode-vlang/contents/syntaxes/v.tmLanguage.json?ref=b1f529602bc6536ad8967373302e151e77179598',
4273
+ sha: 'dd675d51adac26ca3154938de18eaaecbbcbffd9',
4274
+ source: 'https://github.com/vlang/vscode-vlang/blob/dd675d51adac26ca3154938de18eaaecbbcbffd9/syntaxes/v.tmLanguage.json',
4275
+ sourceApi: 'https://api.github.com/repos/vlang/vscode-vlang/contents/syntaxes/v.tmLanguage.json?ref=dd675d51adac26ca3154938de18eaaecbbcbffd9',
4181
4276
  },
4182
4277
  {
4183
4278
  byteSize: 3194,
@@ -4655,6 +4750,11 @@ export const grammars = [
4655
4750
  ],
4656
4751
  displayName: 'Zig',
4657
4752
  funding: [
4753
+ {
4754
+ handle: '@ziglang',
4755
+ name: 'GitHub Sponsors',
4756
+ url: 'https://github.com/sponsors/ziglang',
4757
+ },
4658
4758
  ],
4659
4759
  hash: 'aisnyg_jQlaNk-4VsmHWabgAcnIi1kTmRcOoPN-rHiU',
4660
4760
  lastUpdate: '2025-07-08T20:23:36Z',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.24.25",
4
+ "version": "1.25.1",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",