tm-grammars 1.19.5 → 1.20.0
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/NOTICE +12 -0
- package/README.md +2 -1
- package/grammars/mdc.json +3 -3
- package/grammars/talonscript.json +525 -0
- package/index.js +24 -4
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -8149,6 +8149,18 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
8149
8149
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
8150
8150
|
SOFTWARE.
|
|
8151
8151
|
|
|
8152
|
+
=========================================================================================================
|
|
8153
|
+
Files: talonscript.json
|
|
8154
|
+
License: https://raw.githubusercontent.com/mrob95/vscode-TalonScript/master/LICENSE
|
|
8155
|
+
SPDX: MIT
|
|
8156
|
+
---------------------------------------------------------------------------------------------------------
|
|
8157
|
+
Copyright © 2020 Mike Roberts
|
|
8158
|
+
|
|
8159
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
8160
|
+
|
|
8161
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8162
|
+
|
|
8163
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
8152
8164
|
=========================================================================================================
|
|
8153
8165
|
Files: tasl.json
|
|
8154
8166
|
License: https://raw.githubusercontent.com/underlay/vscode-tasl/main/LICENSE
|
package/README.md
CHANGED
|
@@ -136,7 +136,7 @@ import { grammars } from 'tm-grammars'
|
|
|
136
136
|
| `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/1cd7cf5decbe06cb42efdb03c44d19e4f9b2ba58/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `css` `html` `ini` `java` `lua` `make` `perl` `r` `ruby` `php` `sql` `vb` `xml` `xsl` `yaml` `bat` `clojure` `coffee` `c` `cpp` `diff` `docker` `git-commit` `git-rebase` `go` `groovy` `pug` `javascript` `json` `jsonc` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `regexp` `rust` `scala` `shellscript` `typescript` `tsx` `csharp` `fsharp` `dart` `handlebars` `log` `erlang` `elixir` `latex` `bibtex` `html-derivative` | 52.56 kB |
|
|
137
137
|
| `marko` | | [marko-js/marko-tmbundle](https://github.com/marko-js/marko-tmbundle/blob/dd3a0c39e656bedd276d3bcbdea92a2d627755c7/Syntaxes/marko.tmLanguage) | [MIT](https://raw.githubusercontent.com/marko-js/marko-tmbundle/master/LICENSE) | `css` `less` `scss` `javascript` | 18.28 kB |
|
|
138
138
|
| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | 18.56 kB |
|
|
139
|
-
| `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/45d4f426aa51b8d6a6b2e719ed2bc8f617bd3919/syntaxes/mdc.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | `markdown` `yaml` `html-derivative` | 18.
|
|
139
|
+
| `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/45d4f426aa51b8d6a6b2e719ed2bc8f617bd3919/syntaxes/mdc.standalone.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | `markdown` `yaml` `html-derivative` | 18.72 kB |
|
|
140
140
|
| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/c78b1e5df644d24fa76716bbe26f4b48a6fc1610/source.mdx.tmLanguage) | [MIT](https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license) | `tsx` `toml` `yaml` `c` `clojure` `coffee` `cpp` `csharp` `css` `diff` `docker` `elixir` `elm` `erlang` `go` `graphql` `haskell` `html` `ini` `java` `javascript` `json` `julia` `kotlin` `less` `lua` `make` `markdown` `objective-c` `perl` `python` `r` `ruby` `rust` `scala` `scss` `shellscript` `shellsession` `sql` `xml` `swift` `typescript` | 130.88 kB |
|
|
141
141
|
| `mermaid` | `mmd` | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | | 27.89 kB |
|
|
142
142
|
| `mipsasm` | `mips` | [textmate/mips.tmbundle](https://github.com/textmate/mips.tmbundle/blob/eb7601016a109bf912a48a1c21988f3c4a59fb3a/Syntaxes/MIPS.tmLanguage) | | | 3.04 kB |
|
|
@@ -201,6 +201,7 @@ import { grammars } from 'tm-grammars'
|
|
|
201
201
|
| `swift` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/swift/syntaxes/swift.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 91.15 kB |
|
|
202
202
|
| `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) | | 24.53 kB |
|
|
203
203
|
| `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/bb87cf9d8f7f9da36fbc5bf80683062b2558ed80/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | 7.42 kB |
|
|
204
|
+
| `talonscript` | `talon` | [mrob95/vscode-TalonScript](https://github.com/mrob95/vscode-TalonScript/blob/d422be3703e2b726c3538015bff9015a642eeb3e/syntaxes/talon.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mrob95/vscode-TalonScript/master/LICENSE) | | 6.28 kB |
|
|
204
205
|
| `tasl` | | [underlay/vscode-tasl](https://github.com/underlay/vscode-tasl/blob/dde4b7c0b762c2e667584095362dd49ebfacece7/syntaxes/tasl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/underlay/vscode-tasl/main/LICENSE) | | 3.21 kB |
|
|
205
206
|
| `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.65 kB |
|
|
206
207
|
| `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/4f85ade86dba0ecabd80fe6e845653a0a4aed5bf/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | `go` `javascript` `css` | 22.69 kB |
|
package/grammars/mdc.json
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"name": "mdc",
|
|
5
5
|
"patterns": [
|
|
6
6
|
{
|
|
7
|
-
"include": "#
|
|
7
|
+
"include": "text.html.markdown#frontMatter"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
|
-
"include": "#
|
|
10
|
+
"include": "#block"
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
13
|
"repository": {
|
|
@@ -557,5 +557,5 @@
|
|
|
557
557
|
"name": "span.component.mdc"
|
|
558
558
|
}
|
|
559
559
|
},
|
|
560
|
-
"scopeName": "text.markdown.mdc"
|
|
560
|
+
"scopeName": "text.markdown.mdc.standalone"
|
|
561
561
|
}
|
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
{
|
|
2
|
+
"displayName": "TalonScript",
|
|
3
|
+
"name": "talonscript",
|
|
4
|
+
"patterns": [
|
|
5
|
+
{
|
|
6
|
+
"include": "#body-header"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"include": "#header"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"include": "#body-noheader"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"include": "#comment"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"include": "#settings"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"repository": {
|
|
22
|
+
"action": {
|
|
23
|
+
"begin": "([a-zA-Z0-9._]+)(\\()",
|
|
24
|
+
"beginCaptures": {
|
|
25
|
+
"1": {
|
|
26
|
+
"name": "entity.name.function.talon",
|
|
27
|
+
"patterns": [
|
|
28
|
+
{
|
|
29
|
+
"match": "\\.",
|
|
30
|
+
"name": "punctuation.separator.talon"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"2": {
|
|
35
|
+
"name": "punctuation.definition.parameters.begin.talon"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"end": "(\\))",
|
|
39
|
+
"endCaptures": {
|
|
40
|
+
"1": {
|
|
41
|
+
"name": "punctuation.definition.parameters.end.talon"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"name": "variable.parameter.talon",
|
|
45
|
+
"patterns": [
|
|
46
|
+
{
|
|
47
|
+
"include": "#action"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"include": "#qstring-long"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"include": "#qstring"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"include": "#argsep"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"include": "#number"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"include": "#operator"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"include": "#varname"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"action-gamepad": {
|
|
70
|
+
"captures": {
|
|
71
|
+
"2": {
|
|
72
|
+
"name": "punctuation.definition.parameters.begin.talon"
|
|
73
|
+
},
|
|
74
|
+
"3": {
|
|
75
|
+
"name": "variable.parameter.talon",
|
|
76
|
+
"patterns": [
|
|
77
|
+
{
|
|
78
|
+
"include": "#key-mods"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"4": {
|
|
83
|
+
"name": "punctuation.definition.parameters.key.talon"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"match": "(deck|gamepad|action|face|parrot)(\\()(.*)(\\))",
|
|
87
|
+
"name": "entity.name.function.talon"
|
|
88
|
+
},
|
|
89
|
+
"action-key": {
|
|
90
|
+
"captures": {
|
|
91
|
+
"1": {
|
|
92
|
+
"name": "punctuation.definition.parameters.begin.talon"
|
|
93
|
+
},
|
|
94
|
+
"2": {
|
|
95
|
+
"name": "variable.parameter.talon",
|
|
96
|
+
"patterns": [
|
|
97
|
+
{
|
|
98
|
+
"include": "#key-prefixes"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"include": "#key-mods"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"include": "#keystring"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"3": {
|
|
109
|
+
"name": "punctuation.definition.parameters.key.talon"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"match": "key(\\()(.*)(\\))",
|
|
113
|
+
"name": "entity.name.function.talon"
|
|
114
|
+
},
|
|
115
|
+
"argsep": {
|
|
116
|
+
"match": ",",
|
|
117
|
+
"name": "punctuation.separator.talon"
|
|
118
|
+
},
|
|
119
|
+
"assignment": {
|
|
120
|
+
"captures": {
|
|
121
|
+
"1": {
|
|
122
|
+
"name": "variable.other.talon"
|
|
123
|
+
},
|
|
124
|
+
"2": {
|
|
125
|
+
"name": "keyword.operator.talon"
|
|
126
|
+
},
|
|
127
|
+
"3": {
|
|
128
|
+
"name": "variable.other.talon",
|
|
129
|
+
"patterns": [
|
|
130
|
+
{
|
|
131
|
+
"include": "#comment"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"include": "#expression"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"match": "(\\S*)(\\s?=\\s?)(.*)"
|
|
140
|
+
},
|
|
141
|
+
"body-header": {
|
|
142
|
+
"begin": "^-$",
|
|
143
|
+
"end": "(?=not)possible",
|
|
144
|
+
"patterns": [
|
|
145
|
+
{
|
|
146
|
+
"include": "#body-noheader"
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"body-noheader": {
|
|
151
|
+
"patterns": [
|
|
152
|
+
{
|
|
153
|
+
"include": "#comment"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"include": "#other-rule-definition"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"include": "#speech-rule-definition"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"capture": {
|
|
164
|
+
"match": "(<[a-zA-Z0-9._]+>)",
|
|
165
|
+
"name": "variable.parameter.talon"
|
|
166
|
+
},
|
|
167
|
+
"comment": {
|
|
168
|
+
"match": "(\\s*#.*)$",
|
|
169
|
+
"name": "comment.line.number-sign.talon"
|
|
170
|
+
},
|
|
171
|
+
"context": {
|
|
172
|
+
"captures": {
|
|
173
|
+
"1": {
|
|
174
|
+
"name": "entity.name.tag.talon",
|
|
175
|
+
"patterns": [
|
|
176
|
+
{
|
|
177
|
+
"match": "(and |or )",
|
|
178
|
+
"name": "keyword.operator.talon"
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
"2": {
|
|
183
|
+
"name": "entity.name.type.talon",
|
|
184
|
+
"patterns": [
|
|
185
|
+
{
|
|
186
|
+
"include": "#comment"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"include": "#regexp"
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"match": "(.*): (.*)"
|
|
195
|
+
},
|
|
196
|
+
"expression": {
|
|
197
|
+
"patterns": [
|
|
198
|
+
{
|
|
199
|
+
"include": "#qstring-long"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"include": "#action-key"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"include": "#action"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"include": "#operator"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"include": "#number"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"include": "#qstring"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"include": "#varname"
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"fstring": {
|
|
222
|
+
"captures": {
|
|
223
|
+
"1": {
|
|
224
|
+
"patterns": [
|
|
225
|
+
{
|
|
226
|
+
"include": "#action"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"include": "#operator"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"include": "#number"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"include": "#varname"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"include": "#qstring"
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"match": "{(.+?)}",
|
|
244
|
+
"name": "constant.character.format.placeholder.talon"
|
|
245
|
+
},
|
|
246
|
+
"header": {
|
|
247
|
+
"begin": "(?=^app:|title:|os:|tag:|list:|language:)",
|
|
248
|
+
"end": "(?=^-$)",
|
|
249
|
+
"patterns": [
|
|
250
|
+
{
|
|
251
|
+
"include": "#comment"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"include": "#context"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
"key-mods": {
|
|
259
|
+
"captures": {
|
|
260
|
+
"1": {
|
|
261
|
+
"name": "keyword.operator.talon"
|
|
262
|
+
},
|
|
263
|
+
"2": {
|
|
264
|
+
"name": "keyword.control.talon"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"match": "(:)(up|down|change|repeat|start|stop|\\d+)",
|
|
268
|
+
"name": "keyword.operator.talon"
|
|
269
|
+
},
|
|
270
|
+
"key-prefixes": {
|
|
271
|
+
"captures": {
|
|
272
|
+
"1": {
|
|
273
|
+
"name": "keyword.control.talon"
|
|
274
|
+
},
|
|
275
|
+
"2": {
|
|
276
|
+
"name": "keyword.operator.talon"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"match": "(ctrl|shift|cmd|alt|win|super)(-)"
|
|
280
|
+
},
|
|
281
|
+
"keystring": {
|
|
282
|
+
"begin": "(\"|')",
|
|
283
|
+
"beginCaptures": {
|
|
284
|
+
"1": {
|
|
285
|
+
"name": "punctuation.definition.string.begin.talon"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"end": "(\\1)|$",
|
|
289
|
+
"endCaptures": {
|
|
290
|
+
"1": {
|
|
291
|
+
"name": "punctuation.definition.string.end.talon"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"name": "string.quoted.double.talon",
|
|
295
|
+
"patterns": [
|
|
296
|
+
{
|
|
297
|
+
"include": "#string-body"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"include": "#key-mods"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"include": "#key-prefixes"
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
"list": {
|
|
308
|
+
"match": "({[a-zA-Z0-9._]+?})",
|
|
309
|
+
"name": "string.interpolated.talon"
|
|
310
|
+
},
|
|
311
|
+
"number": {
|
|
312
|
+
"match": "(?<=\\b)\\d+(\\.\\d+)?",
|
|
313
|
+
"name": "constant.numeric.talon"
|
|
314
|
+
},
|
|
315
|
+
"operator": {
|
|
316
|
+
"match": "\\s(\\+|-|\\*|/|or)\\s",
|
|
317
|
+
"name": "keyword.operator.talon"
|
|
318
|
+
},
|
|
319
|
+
"other-rule-definition": {
|
|
320
|
+
"begin": "^([a-z]+\\(.*[^\\-]\\)|[a-z]+\\(.*--\\)|[a-z]+\\(-\\)|[a-z]+\\(\\)):",
|
|
321
|
+
"beginCaptures": {
|
|
322
|
+
"1": {
|
|
323
|
+
"name": "entity.name.tag.talon",
|
|
324
|
+
"patterns": [
|
|
325
|
+
{
|
|
326
|
+
"include": "#action-key"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"include": "#action-gamepad"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"include": "#rule-specials"
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"end": "(?=^[^\\s#])",
|
|
338
|
+
"patterns": [
|
|
339
|
+
{
|
|
340
|
+
"include": "#statement"
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
"qstring": {
|
|
345
|
+
"begin": "(\"|')",
|
|
346
|
+
"beginCaptures": {
|
|
347
|
+
"1": {
|
|
348
|
+
"name": "punctuation.definition.string.begin.talon"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"end": "(\\1)|$",
|
|
352
|
+
"endCaptures": {
|
|
353
|
+
"1": {
|
|
354
|
+
"name": "punctuation.definition.string.end.talon"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"name": "string.quoted.double.talon",
|
|
358
|
+
"patterns": [
|
|
359
|
+
{
|
|
360
|
+
"include": "#string-body"
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
"qstring-long": {
|
|
365
|
+
"begin": "(\"\"\"|''')",
|
|
366
|
+
"beginCaptures": {
|
|
367
|
+
"1": {
|
|
368
|
+
"name": "punctuation.definition.string.begin.talon"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"end": "(\\1)",
|
|
372
|
+
"endCaptures": {
|
|
373
|
+
"1": {
|
|
374
|
+
"name": "punctuation.definition.string.end.talon"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"name": "string.quoted.double.talon",
|
|
378
|
+
"patterns": [
|
|
379
|
+
{
|
|
380
|
+
"include": "#string-body"
|
|
381
|
+
}
|
|
382
|
+
]
|
|
383
|
+
},
|
|
384
|
+
"regexp": {
|
|
385
|
+
"begin": "(/)",
|
|
386
|
+
"end": "(/)",
|
|
387
|
+
"name": "string.regexp.talon",
|
|
388
|
+
"patterns": [
|
|
389
|
+
{
|
|
390
|
+
"match": "\\.",
|
|
391
|
+
"name": "support.other.match.any.regexp"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"match": "\\$",
|
|
395
|
+
"name": "support.other.match.end.regexp"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"match": "\\^",
|
|
399
|
+
"name": "support.other.match.begin.regexp"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"match": "\\\\\\.|\\\\\\*|\\\\\\^|\\\\\\$|\\\\\\+|\\\\\\?",
|
|
403
|
+
"name": "constant.character.escape.talon"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"match": "\\[(\\\\\\]|[^\\]])*\\]",
|
|
407
|
+
"name": "constant.other.set.regexp"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"match": "\\*|\\+|\\?",
|
|
411
|
+
"name": "keyword.operator.quantifier.regexp"
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
"rule-specials": {
|
|
416
|
+
"captures": {
|
|
417
|
+
"1": {
|
|
418
|
+
"name": "entity.name.function.talon"
|
|
419
|
+
},
|
|
420
|
+
"2": {
|
|
421
|
+
"name": "punctuation.definition.parameters.begin.talon"
|
|
422
|
+
},
|
|
423
|
+
"3": {
|
|
424
|
+
"name": "punctuation.definition.parameters.end.talon"
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"match": "(settings|tag)(\\()(\\))"
|
|
428
|
+
},
|
|
429
|
+
"speech-rule-definition": {
|
|
430
|
+
"begin": "^(.*?):",
|
|
431
|
+
"beginCaptures": {
|
|
432
|
+
"1": {
|
|
433
|
+
"name": "entity.name.tag.talon",
|
|
434
|
+
"patterns": [
|
|
435
|
+
{
|
|
436
|
+
"match": "^\\^",
|
|
437
|
+
"name": "string.regexp.talon"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"match": "\\$$",
|
|
441
|
+
"name": "string.regexp.talon"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"match": "\\(",
|
|
445
|
+
"name": "punctuation.definition.parameters.begin.talon"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"match": "\\)",
|
|
449
|
+
"name": "punctuation.definition.parameters.end.talon"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"match": "\\|",
|
|
453
|
+
"name": "punctuation.separator.talon"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"include": "#capture"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"include": "#list"
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"end": "(?=^[^\\s#])",
|
|
465
|
+
"patterns": [
|
|
466
|
+
{
|
|
467
|
+
"include": "#statement"
|
|
468
|
+
}
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
"statement": {
|
|
472
|
+
"patterns": [
|
|
473
|
+
{
|
|
474
|
+
"include": "#comment"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"include": "#qstring-long"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"include": "#action-key"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"include": "#action"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"include": "#qstring"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"include": "#assignment"
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
},
|
|
493
|
+
"string-body": {
|
|
494
|
+
"patterns": [
|
|
495
|
+
{
|
|
496
|
+
"match": "{{|}}",
|
|
497
|
+
"name": "string.quoted.double.talon"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"match": "\\\\\\\\|\\\\n|\\\\t|\\\\r|\\\\\"|\\\\'",
|
|
501
|
+
"name": "constant.character.escape.python"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"include": "#fstring"
|
|
505
|
+
}
|
|
506
|
+
]
|
|
507
|
+
},
|
|
508
|
+
"varname": {
|
|
509
|
+
"captures": {
|
|
510
|
+
"2": {
|
|
511
|
+
"name": "constant.numeric.talon",
|
|
512
|
+
"patterns": [
|
|
513
|
+
{
|
|
514
|
+
"match": "_",
|
|
515
|
+
"name": "keyword.operator.talon"
|
|
516
|
+
}
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"match": "([a-zA-Z0-9._])(_(list|\\d+))?",
|
|
521
|
+
"name": "variable.parameter.talon"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"scopeName": "source.talon"
|
|
525
|
+
}
|
package/index.js
CHANGED
|
@@ -2001,7 +2001,7 @@ export const grammars = [
|
|
|
2001
2001
|
source: 'https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage',
|
|
2002
2002
|
},
|
|
2003
2003
|
{
|
|
2004
|
-
byteSize:
|
|
2004
|
+
byteSize: 19166,
|
|
2005
2005
|
categories: [
|
|
2006
2006
|
'web',
|
|
2007
2007
|
'markup',
|
|
@@ -2012,14 +2012,14 @@ export const grammars = [
|
|
|
2012
2012
|
'yaml',
|
|
2013
2013
|
'html-derivative',
|
|
2014
2014
|
],
|
|
2015
|
-
hash: '
|
|
2015
|
+
hash: 'blzsjPQ88Z',
|
|
2016
2016
|
lastUpdate: '2024-11-14T09:53:35Z',
|
|
2017
2017
|
license: 'MIT',
|
|
2018
2018
|
licenseUrl: 'https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE',
|
|
2019
2019
|
name: 'mdc',
|
|
2020
|
-
scopeName: 'text.markdown.mdc',
|
|
2020
|
+
scopeName: 'text.markdown.mdc.standalone',
|
|
2021
2021
|
sha: '45d4f426aa51b8d6a6b2e719ed2bc8f617bd3919',
|
|
2022
|
-
source: 'https://github.com/nuxtlabs/vscode-mdc/blob/45d4f426aa51b8d6a6b2e719ed2bc8f617bd3919/syntaxes/mdc.tmLanguage.json',
|
|
2022
|
+
source: 'https://github.com/nuxtlabs/vscode-mdc/blob/45d4f426aa51b8d6a6b2e719ed2bc8f617bd3919/syntaxes/mdc.standalone.tmLanguage.json',
|
|
2023
2023
|
},
|
|
2024
2024
|
{
|
|
2025
2025
|
byteSize: 134023,
|
|
@@ -3091,6 +3091,26 @@ export const grammars = [
|
|
|
3091
3091
|
sha: 'bb87cf9d8f7f9da36fbc5bf80683062b2558ed80',
|
|
3092
3092
|
source: 'https://github.com/hangxingliu/vscode-systemd/blob/bb87cf9d8f7f9da36fbc5bf80683062b2558ed80/src/syntax/systemd.tmLanguage',
|
|
3093
3093
|
},
|
|
3094
|
+
{
|
|
3095
|
+
aliases: [
|
|
3096
|
+
'talon',
|
|
3097
|
+
],
|
|
3098
|
+
byteSize: 6433,
|
|
3099
|
+
categories: [
|
|
3100
|
+
'scripting',
|
|
3101
|
+
'dsl',
|
|
3102
|
+
'config',
|
|
3103
|
+
],
|
|
3104
|
+
displayName: 'TalonScript',
|
|
3105
|
+
hash: '2iGmBEN4sd',
|
|
3106
|
+
lastUpdate: '2023-08-08T18:13:10Z',
|
|
3107
|
+
license: 'MIT',
|
|
3108
|
+
licenseUrl: 'https://raw.githubusercontent.com/mrob95/vscode-TalonScript/master/LICENSE',
|
|
3109
|
+
name: 'talonscript',
|
|
3110
|
+
scopeName: 'source.talon',
|
|
3111
|
+
sha: 'd422be3703e2b726c3538015bff9015a642eeb3e',
|
|
3112
|
+
source: 'https://github.com/mrob95/vscode-TalonScript/blob/d422be3703e2b726c3538015bff9015a642eeb3e/syntaxes/talon.tmLanguage.json',
|
|
3113
|
+
},
|
|
3094
3114
|
{
|
|
3095
3115
|
byteSize: 3282,
|
|
3096
3116
|
displayName: 'Tasl',
|