@singapore-editor/tree-sitter-languages 0.1.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.
- package/NOTICE +515 -0
- package/README.md +127 -0
- package/dist/catalog.generated.d.ts +3 -0
- package/dist/catalog.generated.d.ts.map +1 -0
- package/dist/catalog.generated.js +493 -0
- package/dist/catalog.generated.js.map +1 -0
- package/dist/grammars/tree-sitter-astro.js +6 -0
- package/dist/grammars/tree-sitter-astro.js.map +1 -0
- package/dist/grammars/tree-sitter-mdx.js +6 -0
- package/dist/grammars/tree-sitter-mdx.js.map +1 -0
- package/dist/grammars/tree-sitter-sql.js +6 -0
- package/dist/grammars/tree-sitter-sql.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +138 -0
- package/dist/index.js.map +1 -0
- package/dist/metadata.d.ts +278 -0
- package/dist/metadata.d.ts.map +1 -0
- package/dist/metadata.js +335 -0
- package/dist/metadata.js.map +1 -0
- package/dist/queries/astro-folds.js +6 -0
- package/dist/queries/astro-folds.js.map +1 -0
- package/dist/queries/astro-highlights.js +6 -0
- package/dist/queries/astro-highlights.js.map +1 -0
- package/dist/queries/astro-injections.js +6 -0
- package/dist/queries/astro-injections.js.map +1 -0
- package/dist/queries/css-folds.js +6 -0
- package/dist/queries/css-folds.js.map +1 -0
- package/dist/queries/html-folds.js +6 -0
- package/dist/queries/html-folds.js.map +1 -0
- package/dist/queries/javascript-folds.js +6 -0
- package/dist/queries/javascript-folds.js.map +1 -0
- package/dist/queries/javascript-highlights.js +6 -0
- package/dist/queries/javascript-highlights.js.map +1 -0
- package/dist/queries/javascript-injections.js +6 -0
- package/dist/queries/javascript-injections.js.map +1 -0
- package/dist/queries/json-folds.js +6 -0
- package/dist/queries/json-folds.js.map +1 -0
- package/dist/queries/jsx-folds.js +6 -0
- package/dist/queries/jsx-folds.js.map +1 -0
- package/dist/queries/mdx-highlights.js +6 -0
- package/dist/queries/mdx-highlights.js.map +1 -0
- package/dist/queries/mdx-injections.js +6 -0
- package/dist/queries/mdx-injections.js.map +1 -0
- package/dist/queries/sql-highlights.js +6 -0
- package/dist/queries/sql-highlights.js.map +1 -0
- package/dist/queries/svelte-injections.js +6 -0
- package/dist/queries/svelte-injections.js.map +1 -0
- package/dist/queries/typescript-folds.js +6 -0
- package/dist/queries/typescript-folds.js.map +1 -0
- package/dist/queries/typescript-highlights.js +6 -0
- package/dist/queries/typescript-highlights.js.map +1 -0
- package/dist/query-captures.d.ts +2 -0
- package/dist/query-captures.d.ts.map +1 -0
- package/dist/query-captures.js +12 -0
- package/dist/query-captures.js.map +1 -0
- package/package.json +77 -0
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
import { mapQueryCaptures } from "./query-captures.js";
|
|
2
|
+
//#region src/catalog.generated.ts
|
|
3
|
+
var TREE_SITTER_LANGUAGE_CONTRIBUTIONS = [
|
|
4
|
+
{
|
|
5
|
+
id: "javascript",
|
|
6
|
+
extensions: [
|
|
7
|
+
".cjs",
|
|
8
|
+
".js",
|
|
9
|
+
".jsx",
|
|
10
|
+
".mjs"
|
|
11
|
+
],
|
|
12
|
+
filenames: [],
|
|
13
|
+
aliases: [
|
|
14
|
+
"js",
|
|
15
|
+
"jsx",
|
|
16
|
+
"node"
|
|
17
|
+
],
|
|
18
|
+
injectionDependencies: ["regex", "jsdoc"],
|
|
19
|
+
async load() {
|
|
20
|
+
const assets = await Promise.all([
|
|
21
|
+
import("./node_modules/.bun/tree-sitter-javascript@0.25.0/node_modules/tree-sitter-javascript/tree-sitter-javascript.js").then((module) => module.default),
|
|
22
|
+
import("./queries/javascript-highlights.js").then((module) => module.default),
|
|
23
|
+
import("./node_modules/.bun/tree-sitter-javascript@0.25.0/node_modules/tree-sitter-javascript/queries/highlights-jsx.js").then((module) => module.default),
|
|
24
|
+
import("./queries/javascript-folds.js").then((module) => module.default),
|
|
25
|
+
import("./queries/jsx-folds.js").then((module) => module.default),
|
|
26
|
+
import("./queries/javascript-injections.js").then((module) => module.default)
|
|
27
|
+
]);
|
|
28
|
+
return {
|
|
29
|
+
wasmUrl: assets[0],
|
|
30
|
+
highlightQuerySource: mapQueryCaptures([assets[1], assets[2]].join("\n"), captureMappings),
|
|
31
|
+
foldQuerySource: mapQueryCaptures([assets[3], assets[4]].join("\n"), captureMappings),
|
|
32
|
+
injectionQuerySource: mapQueryCaptures([assets[5]].join("\n"), captureMappings)
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: "typescript",
|
|
38
|
+
extensions: [
|
|
39
|
+
".cts",
|
|
40
|
+
".mts",
|
|
41
|
+
".ts"
|
|
42
|
+
],
|
|
43
|
+
filenames: [],
|
|
44
|
+
aliases: ["ts"],
|
|
45
|
+
injectionDependencies: ["regex", "jsdoc"],
|
|
46
|
+
async load() {
|
|
47
|
+
const assets = await Promise.all([
|
|
48
|
+
import("./node_modules/.bun/tree-sitter-typescript@0.23.2/node_modules/tree-sitter-typescript/tree-sitter-typescript.js").then((module) => module.default),
|
|
49
|
+
import("./queries/typescript-highlights.js").then((module) => module.default),
|
|
50
|
+
import("./queries/javascript-highlights.js").then((module) => module.default),
|
|
51
|
+
import("./queries/typescript-folds.js").then((module) => module.default),
|
|
52
|
+
import("./queries/javascript-folds.js").then((module) => module.default),
|
|
53
|
+
import("./queries/javascript-injections.js").then((module) => module.default)
|
|
54
|
+
]);
|
|
55
|
+
return {
|
|
56
|
+
wasmUrl: assets[0],
|
|
57
|
+
highlightQuerySource: mapQueryCaptures([assets[1], assets[2]].join("\n"), captureMappings),
|
|
58
|
+
foldQuerySource: mapQueryCaptures([assets[3], assets[4]].join("\n"), captureMappings),
|
|
59
|
+
injectionQuerySource: mapQueryCaptures([assets[5]].join("\n"), captureMappings)
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: "tsx",
|
|
65
|
+
extensions: [".tsx"],
|
|
66
|
+
filenames: [],
|
|
67
|
+
aliases: ["typescriptreact"],
|
|
68
|
+
injectionDependencies: ["regex", "jsdoc"],
|
|
69
|
+
async load() {
|
|
70
|
+
const assets = await Promise.all([
|
|
71
|
+
import("./node_modules/.bun/tree-sitter-typescript@0.23.2/node_modules/tree-sitter-typescript/tree-sitter-tsx.js").then((module) => module.default),
|
|
72
|
+
import("./queries/typescript-highlights.js").then((module) => module.default),
|
|
73
|
+
import("./queries/javascript-highlights.js").then((module) => module.default),
|
|
74
|
+
import("./node_modules/.bun/tree-sitter-javascript@0.25.0/node_modules/tree-sitter-javascript/queries/highlights-jsx.js").then((module) => module.default),
|
|
75
|
+
import("./queries/typescript-folds.js").then((module) => module.default),
|
|
76
|
+
import("./queries/javascript-folds.js").then((module) => module.default),
|
|
77
|
+
import("./queries/jsx-folds.js").then((module) => module.default),
|
|
78
|
+
import("./queries/javascript-injections.js").then((module) => module.default)
|
|
79
|
+
]);
|
|
80
|
+
return {
|
|
81
|
+
wasmUrl: assets[0],
|
|
82
|
+
highlightQuerySource: mapQueryCaptures([
|
|
83
|
+
assets[1],
|
|
84
|
+
assets[2],
|
|
85
|
+
assets[3]
|
|
86
|
+
].join("\n"), captureMappings),
|
|
87
|
+
foldQuerySource: mapQueryCaptures([
|
|
88
|
+
assets[4],
|
|
89
|
+
assets[5],
|
|
90
|
+
assets[6]
|
|
91
|
+
].join("\n"), captureMappings),
|
|
92
|
+
injectionQuerySource: mapQueryCaptures([assets[7]].join("\n"), captureMappings)
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
id: "html",
|
|
98
|
+
extensions: [".htm", ".html"],
|
|
99
|
+
filenames: [],
|
|
100
|
+
aliases: [],
|
|
101
|
+
injectionDependencies: ["javascript", "css"],
|
|
102
|
+
async load() {
|
|
103
|
+
const assets = await Promise.all([
|
|
104
|
+
import("./node_modules/.bun/tree-sitter-html@0.23.2/node_modules/tree-sitter-html/tree-sitter-html.js").then((module) => module.default),
|
|
105
|
+
import("./node_modules/.bun/tree-sitter-html@0.23.2/node_modules/tree-sitter-html/queries/highlights.js").then((module) => module.default),
|
|
106
|
+
import("./queries/html-folds.js").then((module) => module.default),
|
|
107
|
+
import("./node_modules/.bun/tree-sitter-html@0.23.2/node_modules/tree-sitter-html/queries/injections.js").then((module) => module.default)
|
|
108
|
+
]);
|
|
109
|
+
return {
|
|
110
|
+
wasmUrl: assets[0],
|
|
111
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
112
|
+
foldQuerySource: mapQueryCaptures([assets[2]].join("\n"), captureMappings),
|
|
113
|
+
injectionQuerySource: mapQueryCaptures([assets[3]].join("\n"), captureMappings)
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
id: "css",
|
|
119
|
+
extensions: [".css"],
|
|
120
|
+
filenames: [],
|
|
121
|
+
aliases: [],
|
|
122
|
+
injectionDependencies: [],
|
|
123
|
+
async load() {
|
|
124
|
+
const assets = await Promise.all([
|
|
125
|
+
import("./node_modules/.bun/tree-sitter-css@0.25.0/node_modules/tree-sitter-css/tree-sitter-css.js").then((module) => module.default),
|
|
126
|
+
import("./node_modules/.bun/tree-sitter-css@0.25.0/node_modules/tree-sitter-css/queries/highlights.js").then((module) => module.default),
|
|
127
|
+
import("./queries/css-folds.js").then((module) => module.default)
|
|
128
|
+
]);
|
|
129
|
+
return {
|
|
130
|
+
wasmUrl: assets[0],
|
|
131
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
132
|
+
foldQuerySource: mapQueryCaptures([assets[2]].join("\n"), captureMappings),
|
|
133
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
id: "json",
|
|
139
|
+
extensions: [".json"],
|
|
140
|
+
filenames: [],
|
|
141
|
+
aliases: [],
|
|
142
|
+
injectionDependencies: [],
|
|
143
|
+
async load() {
|
|
144
|
+
const assets = await Promise.all([
|
|
145
|
+
import("./node_modules/.bun/tree-sitter-json@0.24.8/node_modules/tree-sitter-json/tree-sitter-json.js").then((module) => module.default),
|
|
146
|
+
import("./node_modules/.bun/tree-sitter-json@0.24.8/node_modules/tree-sitter-json/queries/highlights.js").then((module) => module.default),
|
|
147
|
+
import("./queries/json-folds.js").then((module) => module.default)
|
|
148
|
+
]);
|
|
149
|
+
return {
|
|
150
|
+
wasmUrl: assets[0],
|
|
151
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
152
|
+
foldQuerySource: mapQueryCaptures([assets[2]].join("\n"), captureMappings),
|
|
153
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: "markdown",
|
|
159
|
+
extensions: [".md", ".markdown"],
|
|
160
|
+
filenames: [],
|
|
161
|
+
aliases: ["md", "gfm"],
|
|
162
|
+
injectionDependencies: [],
|
|
163
|
+
async load() {
|
|
164
|
+
return {
|
|
165
|
+
wasmUrl: (await Promise.all([import("./node_modules/.bun/tree-sitter-md@0.1.0/node_modules/tree-sitter-md/tree-sitter-markdown.js").then((module) => module.default)]))[0],
|
|
166
|
+
highlightQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
167
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
168
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
id: "astro",
|
|
174
|
+
extensions: [".astro"],
|
|
175
|
+
filenames: [],
|
|
176
|
+
aliases: [],
|
|
177
|
+
injectionDependencies: ["typescript", "css"],
|
|
178
|
+
async load() {
|
|
179
|
+
const assets = await Promise.all([
|
|
180
|
+
import("./grammars/tree-sitter-astro.js").then((module) => module.default),
|
|
181
|
+
import("./queries/astro-highlights.js").then((module) => module.default),
|
|
182
|
+
import("./queries/astro-folds.js").then((module) => module.default),
|
|
183
|
+
import("./queries/astro-injections.js").then((module) => module.default)
|
|
184
|
+
]);
|
|
185
|
+
return {
|
|
186
|
+
wasmUrl: assets[0],
|
|
187
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
188
|
+
foldQuerySource: mapQueryCaptures([assets[2]].join("\n"), captureMappings),
|
|
189
|
+
injectionQuerySource: mapQueryCaptures([assets[3]].join("\n"), captureMappings)
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
id: "python",
|
|
195
|
+
extensions: [".py", ".pyi"],
|
|
196
|
+
filenames: [],
|
|
197
|
+
aliases: ["py"],
|
|
198
|
+
injectionDependencies: [],
|
|
199
|
+
async load() {
|
|
200
|
+
const assets = await Promise.all([import("./node_modules/.bun/tree-sitter-python@0.25.0/node_modules/tree-sitter-python/tree-sitter-python.js").then((module) => module.default), import("./node_modules/.bun/tree-sitter-python@0.25.0/node_modules/tree-sitter-python/queries/highlights.js").then((module) => module.default)]);
|
|
201
|
+
return {
|
|
202
|
+
wasmUrl: assets[0],
|
|
203
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
204
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
205
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
id: "shellscript",
|
|
211
|
+
extensions: [
|
|
212
|
+
".sh",
|
|
213
|
+
".bash",
|
|
214
|
+
".zsh",
|
|
215
|
+
".ksh"
|
|
216
|
+
],
|
|
217
|
+
filenames: [".bashrc", ".zshrc"],
|
|
218
|
+
aliases: [
|
|
219
|
+
"bash",
|
|
220
|
+
"sh",
|
|
221
|
+
"zsh"
|
|
222
|
+
],
|
|
223
|
+
injectionDependencies: [],
|
|
224
|
+
async load() {
|
|
225
|
+
const assets = await Promise.all([import("./node_modules/.bun/tree-sitter-bash@0.25.1/node_modules/tree-sitter-bash/tree-sitter-bash.js").then((module) => module.default), import("./node_modules/.bun/tree-sitter-bash@0.25.1/node_modules/tree-sitter-bash/queries/highlights.js").then((module) => module.default)]);
|
|
226
|
+
return {
|
|
227
|
+
wasmUrl: assets[0],
|
|
228
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
229
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
230
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
id: "rust",
|
|
236
|
+
extensions: [".rs"],
|
|
237
|
+
filenames: [],
|
|
238
|
+
aliases: ["rs"],
|
|
239
|
+
injectionDependencies: [],
|
|
240
|
+
async load() {
|
|
241
|
+
const assets = await Promise.all([import("./node_modules/.bun/tree-sitter-rust@0.24.0/node_modules/tree-sitter-rust/tree-sitter-rust.js").then((module) => module.default), import("./node_modules/.bun/tree-sitter-rust@0.24.0/node_modules/tree-sitter-rust/queries/highlights.js").then((module) => module.default)]);
|
|
242
|
+
return {
|
|
243
|
+
wasmUrl: assets[0],
|
|
244
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
245
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
246
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
id: "go",
|
|
252
|
+
extensions: [".go"],
|
|
253
|
+
filenames: [],
|
|
254
|
+
aliases: ["golang"],
|
|
255
|
+
injectionDependencies: [],
|
|
256
|
+
async load() {
|
|
257
|
+
const assets = await Promise.all([import("./node_modules/.bun/tree-sitter-go@0.25.0/node_modules/tree-sitter-go/tree-sitter-go.js").then((module) => module.default), import("./node_modules/.bun/tree-sitter-go@0.25.0/node_modules/tree-sitter-go/queries/highlights.js").then((module) => module.default)]);
|
|
258
|
+
return {
|
|
259
|
+
wasmUrl: assets[0],
|
|
260
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
261
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
262
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
id: "yaml",
|
|
268
|
+
extensions: [".yml", ".yaml"],
|
|
269
|
+
filenames: [],
|
|
270
|
+
aliases: ["yml"],
|
|
271
|
+
injectionDependencies: [],
|
|
272
|
+
async load() {
|
|
273
|
+
const assets = await Promise.all([import("./node_modules/.bun/@tree-sitter-grammars_tree-sitter-yaml@0.7.1/node_modules/@tree-sitter-grammars/tree-sitter-yaml/tree-sitter-yaml.js").then((module) => module.default), import("./node_modules/.bun/@tree-sitter-grammars_tree-sitter-yaml@0.7.1/node_modules/@tree-sitter-grammars/tree-sitter-yaml/queries/highlights.js").then((module) => module.default)]);
|
|
274
|
+
return {
|
|
275
|
+
wasmUrl: assets[0],
|
|
276
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
277
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
278
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
id: "toml",
|
|
284
|
+
extensions: [".toml"],
|
|
285
|
+
filenames: ["Cargo.lock"],
|
|
286
|
+
aliases: [],
|
|
287
|
+
injectionDependencies: [],
|
|
288
|
+
async load() {
|
|
289
|
+
const assets = await Promise.all([import("./node_modules/.bun/@tree-sitter-grammars_tree-sitter-toml@0.7.0/node_modules/@tree-sitter-grammars/tree-sitter-toml/tree-sitter-toml.js").then((module) => module.default), import("./node_modules/.bun/@tree-sitter-grammars_tree-sitter-toml@0.7.0/node_modules/@tree-sitter-grammars/tree-sitter-toml/queries/highlights.js").then((module) => module.default)]);
|
|
290
|
+
return {
|
|
291
|
+
wasmUrl: assets[0],
|
|
292
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
293
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
294
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
id: "c",
|
|
300
|
+
extensions: [".c", ".h"],
|
|
301
|
+
filenames: [],
|
|
302
|
+
aliases: [],
|
|
303
|
+
injectionDependencies: [],
|
|
304
|
+
async load() {
|
|
305
|
+
const assets = await Promise.all([import("./node_modules/.bun/tree-sitter-c@0.24.1/node_modules/tree-sitter-c/tree-sitter-c.js").then((module) => module.default), import("./node_modules/.bun/tree-sitter-c@0.24.1/node_modules/tree-sitter-c/queries/highlights.js").then((module) => module.default)]);
|
|
306
|
+
return {
|
|
307
|
+
wasmUrl: assets[0],
|
|
308
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
309
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
310
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
id: "cpp",
|
|
316
|
+
extensions: [
|
|
317
|
+
".cpp",
|
|
318
|
+
".cc",
|
|
319
|
+
".cxx",
|
|
320
|
+
".hpp",
|
|
321
|
+
".hh",
|
|
322
|
+
".hxx"
|
|
323
|
+
],
|
|
324
|
+
filenames: [],
|
|
325
|
+
aliases: ["c++"],
|
|
326
|
+
injectionDependencies: [],
|
|
327
|
+
async load() {
|
|
328
|
+
const assets = await Promise.all([
|
|
329
|
+
import("./node_modules/.bun/tree-sitter-cpp@0.23.4/node_modules/tree-sitter-cpp/tree-sitter-cpp.js").then((module) => module.default),
|
|
330
|
+
import("./node_modules/.bun/tree-sitter-c@0.24.1/node_modules/tree-sitter-c/queries/highlights.js").then((module) => module.default),
|
|
331
|
+
import("./node_modules/.bun/tree-sitter-cpp@0.23.4/node_modules/tree-sitter-cpp/queries/highlights.js").then((module) => module.default)
|
|
332
|
+
]);
|
|
333
|
+
return {
|
|
334
|
+
wasmUrl: assets[0],
|
|
335
|
+
highlightQuerySource: mapQueryCaptures([assets[1], assets[2]].join("\n"), captureMappings),
|
|
336
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
337
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
id: "csharp",
|
|
343
|
+
extensions: [".cs"],
|
|
344
|
+
filenames: [],
|
|
345
|
+
aliases: ["c-sharp", "cs"],
|
|
346
|
+
injectionDependencies: [],
|
|
347
|
+
async load() {
|
|
348
|
+
const assets = await Promise.all([import("./node_modules/.bun/tree-sitter-c-sharp@0.23.5/node_modules/tree-sitter-c-sharp/tree-sitter-c_sharp.js").then((module) => module.default), import("./node_modules/.bun/tree-sitter-c-sharp@0.23.5/node_modules/tree-sitter-c-sharp/queries/highlights.js").then((module) => module.default)]);
|
|
349
|
+
return {
|
|
350
|
+
wasmUrl: assets[0],
|
|
351
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
352
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
353
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
id: "java",
|
|
359
|
+
extensions: [".java"],
|
|
360
|
+
filenames: [],
|
|
361
|
+
aliases: [],
|
|
362
|
+
injectionDependencies: [],
|
|
363
|
+
async load() {
|
|
364
|
+
const assets = await Promise.all([import("./node_modules/.bun/tree-sitter-java@0.23.5/node_modules/tree-sitter-java/tree-sitter-java.js").then((module) => module.default), import("./node_modules/.bun/tree-sitter-java@0.23.5/node_modules/tree-sitter-java/queries/highlights.js").then((module) => module.default)]);
|
|
365
|
+
return {
|
|
366
|
+
wasmUrl: assets[0],
|
|
367
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
368
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
369
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
id: "php",
|
|
375
|
+
extensions: [".php"],
|
|
376
|
+
filenames: [],
|
|
377
|
+
aliases: [],
|
|
378
|
+
injectionDependencies: ["phpdoc"],
|
|
379
|
+
async load() {
|
|
380
|
+
const assets = await Promise.all([
|
|
381
|
+
import("./node_modules/.bun/tree-sitter-php@0.24.2/node_modules/tree-sitter-php/tree-sitter-php.js").then((module) => module.default),
|
|
382
|
+
import("./node_modules/.bun/tree-sitter-php@0.24.2/node_modules/tree-sitter-php/queries/highlights.js").then((module) => module.default),
|
|
383
|
+
import("./node_modules/.bun/tree-sitter-php@0.24.2/node_modules/tree-sitter-php/queries/injections.js").then((module) => module.default)
|
|
384
|
+
]);
|
|
385
|
+
return {
|
|
386
|
+
wasmUrl: assets[0],
|
|
387
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
388
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
389
|
+
injectionQuerySource: mapQueryCaptures([assets[2]].join("\n"), captureMappings)
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
id: "lua",
|
|
395
|
+
extensions: [".lua"],
|
|
396
|
+
filenames: [],
|
|
397
|
+
aliases: [],
|
|
398
|
+
injectionDependencies: ["c"],
|
|
399
|
+
async load() {
|
|
400
|
+
const assets = await Promise.all([
|
|
401
|
+
import("./node_modules/.bun/@tree-sitter-grammars_tree-sitter-lua@0.4.1/node_modules/@tree-sitter-grammars/tree-sitter-lua/tree-sitter-lua.js").then((module) => module.default),
|
|
402
|
+
import("./node_modules/.bun/@tree-sitter-grammars_tree-sitter-lua@0.4.1/node_modules/@tree-sitter-grammars/tree-sitter-lua/queries/highlights.js").then((module) => module.default),
|
|
403
|
+
import("./node_modules/.bun/@tree-sitter-grammars_tree-sitter-lua@0.4.1/node_modules/@tree-sitter-grammars/tree-sitter-lua/queries/injections.js").then((module) => module.default)
|
|
404
|
+
]);
|
|
405
|
+
return {
|
|
406
|
+
wasmUrl: assets[0],
|
|
407
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
408
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
409
|
+
injectionQuerySource: mapQueryCaptures([assets[2]].join("\n"), captureMappings)
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
id: "svelte",
|
|
415
|
+
extensions: [".svelte"],
|
|
416
|
+
filenames: [],
|
|
417
|
+
aliases: [],
|
|
418
|
+
injectionDependencies: ["typescript", "css"],
|
|
419
|
+
async load() {
|
|
420
|
+
const assets = await Promise.all([
|
|
421
|
+
import("./node_modules/.bun/tree-sitter-svelte@0.11.0/node_modules/tree-sitter-svelte/tree-sitter-svelte.js").then((module) => module.default),
|
|
422
|
+
import("./node_modules/.bun/tree-sitter-svelte@0.11.0/node_modules/tree-sitter-svelte/queries/highlights.js").then((module) => module.default),
|
|
423
|
+
import("./node_modules/.bun/tree-sitter-svelte@0.11.0/node_modules/tree-sitter-svelte/queries/folds.js").then((module) => module.default),
|
|
424
|
+
import("./queries/svelte-injections.js").then((module) => module.default)
|
|
425
|
+
]);
|
|
426
|
+
return {
|
|
427
|
+
wasmUrl: assets[0],
|
|
428
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
429
|
+
foldQuerySource: mapQueryCaptures([assets[2]].join("\n"), captureMappings),
|
|
430
|
+
injectionQuerySource: mapQueryCaptures([assets[3]].join("\n"), captureMappings)
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
id: "sql",
|
|
436
|
+
extensions: [".sql"],
|
|
437
|
+
filenames: [],
|
|
438
|
+
aliases: [],
|
|
439
|
+
injectionDependencies: [],
|
|
440
|
+
async load() {
|
|
441
|
+
const assets = await Promise.all([import("./grammars/tree-sitter-sql.js").then((module) => module.default), import("./queries/sql-highlights.js").then((module) => module.default)]);
|
|
442
|
+
return {
|
|
443
|
+
wasmUrl: assets[0],
|
|
444
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
445
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
446
|
+
injectionQuerySource: mapQueryCaptures([].join("\n"), captureMappings)
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
id: "mdx",
|
|
452
|
+
extensions: [".mdx"],
|
|
453
|
+
filenames: [],
|
|
454
|
+
aliases: [],
|
|
455
|
+
injectionDependencies: ["markdown"],
|
|
456
|
+
async load() {
|
|
457
|
+
const assets = await Promise.all([
|
|
458
|
+
import("./grammars/tree-sitter-mdx.js").then((module) => module.default),
|
|
459
|
+
import("./queries/mdx-highlights.js").then((module) => module.default),
|
|
460
|
+
import("./queries/mdx-injections.js").then((module) => module.default)
|
|
461
|
+
]);
|
|
462
|
+
return {
|
|
463
|
+
wasmUrl: assets[0],
|
|
464
|
+
highlightQuerySource: mapQueryCaptures([assets[1]].join("\n"), captureMappings),
|
|
465
|
+
foldQuerySource: mapQueryCaptures([].join("\n"), captureMappings),
|
|
466
|
+
injectionQuerySource: mapQueryCaptures([assets[2]].join("\n"), captureMappings)
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
];
|
|
471
|
+
var captureMappings = {
|
|
472
|
+
escape: "string.escape",
|
|
473
|
+
boolean: "constant.builtin",
|
|
474
|
+
label: "property",
|
|
475
|
+
delimiter: "punctuation.delimiter",
|
|
476
|
+
module: "namespace",
|
|
477
|
+
"module.builtin": "namespace",
|
|
478
|
+
method: "function.method",
|
|
479
|
+
"method.call": "function.method",
|
|
480
|
+
field: "property",
|
|
481
|
+
parameter: "variable.parameter",
|
|
482
|
+
conditional: "keyword.control",
|
|
483
|
+
repeat: "keyword.control",
|
|
484
|
+
preproc: "keyword",
|
|
485
|
+
error: "tag.error",
|
|
486
|
+
"text.strike": "text.literal",
|
|
487
|
+
"text.underline": "text.reference",
|
|
488
|
+
storageclass: "keyword.storage"
|
|
489
|
+
};
|
|
490
|
+
//#endregion
|
|
491
|
+
export { TREE_SITTER_LANGUAGE_CONTRIBUTIONS };
|
|
492
|
+
|
|
493
|
+
//# sourceMappingURL=catalog.generated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.generated.js","names":[],"sources":["../src/catalog.generated.ts"],"sourcesContent":["// Generated by languages:generate. Edit languages.json.\n// oxlint-disable-next-line typescript-eslint/triple-slash-reference\n/// <reference path=\"./vite-assets.d.ts\" />\nimport type { TreeSitterLanguageContribution } from '@singapore-editor/tree-sitter'\nimport { mapQueryCaptures } from './query-captures'\nexport const TREE_SITTER_LANGUAGE_CONTRIBUTIONS: readonly TreeSitterLanguageContribution[] = [\n {\n id: 'javascript',\n extensions: ['.cjs', '.js', '.jsx', '.mjs'],\n filenames: [],\n aliases: ['js', 'jsx', 'node'],\n injectionDependencies: ['regex', 'jsdoc'],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-javascript/tree-sitter-javascript.wasm?url').then(\n (module) => module.default,\n ),\n import('./queries/javascript-highlights.scm?raw').then((module) => module.default),\n import('tree-sitter-javascript/queries/highlights-jsx.scm?raw').then(\n (module) => module.default,\n ),\n import('./queries/javascript-folds.scm?raw').then((module) => module.default),\n import('./queries/jsx-folds.scm?raw').then((module) => module.default),\n import('./queries/javascript-injections.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures(\n [assets[1]!, assets[2]!].join('\\n'),\n captureMappings,\n ),\n foldQuerySource: mapQueryCaptures([assets[3]!, assets[4]!].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([assets[5]!].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'typescript',\n extensions: ['.cts', '.mts', '.ts'],\n filenames: [],\n aliases: ['ts'],\n injectionDependencies: ['regex', 'jsdoc'],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-typescript/tree-sitter-typescript.wasm?url').then(\n (module) => module.default,\n ),\n import('./queries/typescript-highlights.scm?raw').then((module) => module.default),\n import('./queries/javascript-highlights.scm?raw').then((module) => module.default),\n import('./queries/typescript-folds.scm?raw').then((module) => module.default),\n import('./queries/javascript-folds.scm?raw').then((module) => module.default),\n import('./queries/javascript-injections.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures(\n [assets[1]!, assets[2]!].join('\\n'),\n captureMappings,\n ),\n foldQuerySource: mapQueryCaptures([assets[3]!, assets[4]!].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([assets[5]!].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'tsx',\n extensions: ['.tsx'],\n filenames: [],\n aliases: ['typescriptreact'],\n injectionDependencies: ['regex', 'jsdoc'],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-typescript/tree-sitter-tsx.wasm?url').then((module) => module.default),\n import('./queries/typescript-highlights.scm?raw').then((module) => module.default),\n import('./queries/javascript-highlights.scm?raw').then((module) => module.default),\n import('tree-sitter-javascript/queries/highlights-jsx.scm?raw').then(\n (module) => module.default,\n ),\n import('./queries/typescript-folds.scm?raw').then((module) => module.default),\n import('./queries/javascript-folds.scm?raw').then((module) => module.default),\n import('./queries/jsx-folds.scm?raw').then((module) => module.default),\n import('./queries/javascript-injections.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures(\n [assets[1]!, assets[2]!, assets[3]!].join('\\n'),\n captureMappings,\n ),\n foldQuerySource: mapQueryCaptures(\n [assets[4]!, assets[5]!, assets[6]!].join('\\n'),\n captureMappings,\n ),\n injectionQuerySource: mapQueryCaptures([assets[7]!].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'html',\n extensions: ['.htm', '.html'],\n filenames: [],\n aliases: [],\n injectionDependencies: ['javascript', 'css'],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-html/tree-sitter-html.wasm?url').then((module) => module.default),\n import('tree-sitter-html/queries/highlights.scm?raw').then((module) => module.default),\n import('./queries/html-folds.scm?raw').then((module) => module.default),\n import('tree-sitter-html/queries/injections.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([assets[2]!].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([assets[3]!].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'css',\n extensions: ['.css'],\n filenames: [],\n aliases: [],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-css/tree-sitter-css.wasm?url').then((module) => module.default),\n import('tree-sitter-css/queries/highlights.scm?raw').then((module) => module.default),\n import('./queries/css-folds.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([assets[2]!].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'json',\n extensions: ['.json'],\n filenames: [],\n aliases: [],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-json/tree-sitter-json.wasm?url').then((module) => module.default),\n import('tree-sitter-json/queries/highlights.scm?raw').then((module) => module.default),\n import('./queries/json-folds.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([assets[2]!].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'markdown',\n extensions: ['.md', '.markdown'],\n filenames: [],\n aliases: ['md', 'gfm'],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-md/tree-sitter-markdown.wasm?url').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'astro',\n extensions: ['.astro'],\n filenames: [],\n aliases: [],\n injectionDependencies: ['typescript', 'css'],\n async load() {\n const assets = await Promise.all([\n import('./grammars/tree-sitter-astro.wasm?url').then((module) => module.default),\n import('./queries/astro-highlights.scm?raw').then((module) => module.default),\n import('./queries/astro-folds.scm?raw').then((module) => module.default),\n import('./queries/astro-injections.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([assets[2]!].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([assets[3]!].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'python',\n extensions: ['.py', '.pyi'],\n filenames: [],\n aliases: ['py'],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-python/tree-sitter-python.wasm?url').then((module) => module.default),\n import('tree-sitter-python/queries/highlights.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'shellscript',\n extensions: ['.sh', '.bash', '.zsh', '.ksh'],\n filenames: ['.bashrc', '.zshrc'],\n aliases: ['bash', 'sh', 'zsh'],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-bash/tree-sitter-bash.wasm?url').then((module) => module.default),\n import('tree-sitter-bash/queries/highlights.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'rust',\n extensions: ['.rs'],\n filenames: [],\n aliases: ['rs'],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-rust/tree-sitter-rust.wasm?url').then((module) => module.default),\n import('tree-sitter-rust/queries/highlights.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'go',\n extensions: ['.go'],\n filenames: [],\n aliases: ['golang'],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-go/tree-sitter-go.wasm?url').then((module) => module.default),\n import('tree-sitter-go/queries/highlights.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'yaml',\n extensions: ['.yml', '.yaml'],\n filenames: [],\n aliases: ['yml'],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('@tree-sitter-grammars/tree-sitter-yaml/tree-sitter-yaml.wasm?url').then(\n (module) => module.default,\n ),\n import('@tree-sitter-grammars/tree-sitter-yaml/queries/highlights.scm?raw').then(\n (module) => module.default,\n ),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'toml',\n extensions: ['.toml'],\n filenames: ['Cargo.lock'],\n aliases: [],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('@tree-sitter-grammars/tree-sitter-toml/tree-sitter-toml.wasm?url').then(\n (module) => module.default,\n ),\n import('@tree-sitter-grammars/tree-sitter-toml/queries/highlights.scm?raw').then(\n (module) => module.default,\n ),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'c',\n extensions: ['.c', '.h'],\n filenames: [],\n aliases: [],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-c/tree-sitter-c.wasm?url').then((module) => module.default),\n import('tree-sitter-c/queries/highlights.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'cpp',\n extensions: ['.cpp', '.cc', '.cxx', '.hpp', '.hh', '.hxx'],\n filenames: [],\n aliases: ['c++'],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-cpp/tree-sitter-cpp.wasm?url').then((module) => module.default),\n import('tree-sitter-c/queries/highlights.scm?raw').then((module) => module.default),\n import('tree-sitter-cpp/queries/highlights.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures(\n [assets[1]!, assets[2]!].join('\\n'),\n captureMappings,\n ),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'csharp',\n extensions: ['.cs'],\n filenames: [],\n aliases: ['c-sharp', 'cs'],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-c-sharp/tree-sitter-c_sharp.wasm?url').then((module) => module.default),\n import('tree-sitter-c-sharp/queries/highlights.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'java',\n extensions: ['.java'],\n filenames: [],\n aliases: [],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-java/tree-sitter-java.wasm?url').then((module) => module.default),\n import('tree-sitter-java/queries/highlights.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'php',\n extensions: ['.php'],\n filenames: [],\n aliases: [],\n injectionDependencies: ['phpdoc'],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-php/tree-sitter-php.wasm?url').then((module) => module.default),\n import('tree-sitter-php/queries/highlights.scm?raw').then((module) => module.default),\n import('tree-sitter-php/queries/injections.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([assets[2]!].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'lua',\n extensions: ['.lua'],\n filenames: [],\n aliases: [],\n injectionDependencies: ['c'],\n async load() {\n const assets = await Promise.all([\n import('@tree-sitter-grammars/tree-sitter-lua/tree-sitter-lua.wasm?url').then(\n (module) => module.default,\n ),\n import('@tree-sitter-grammars/tree-sitter-lua/queries/highlights.scm?raw').then(\n (module) => module.default,\n ),\n import('@tree-sitter-grammars/tree-sitter-lua/queries/injections.scm?raw').then(\n (module) => module.default,\n ),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([assets[2]!].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'svelte',\n extensions: ['.svelte'],\n filenames: [],\n aliases: [],\n injectionDependencies: ['typescript', 'css'],\n async load() {\n const assets = await Promise.all([\n import('tree-sitter-svelte/tree-sitter-svelte.wasm?url').then((module) => module.default),\n import('tree-sitter-svelte/queries/highlights.scm?raw').then((module) => module.default),\n import('tree-sitter-svelte/queries/folds.scm?raw').then((module) => module.default),\n import('./queries/svelte-injections.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([assets[2]!].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([assets[3]!].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'sql',\n extensions: ['.sql'],\n filenames: [],\n aliases: [],\n injectionDependencies: [],\n async load() {\n const assets = await Promise.all([\n import('./grammars/tree-sitter-sql.wasm?url').then((module) => module.default),\n import('./queries/sql-highlights.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n }\n },\n },\n {\n id: 'mdx',\n extensions: ['.mdx'],\n filenames: [],\n aliases: [],\n injectionDependencies: ['markdown'],\n async load() {\n const assets = await Promise.all([\n import('./grammars/tree-sitter-mdx.wasm?url').then((module) => module.default),\n import('./queries/mdx-highlights.scm?raw').then((module) => module.default),\n import('./queries/mdx-injections.scm?raw').then((module) => module.default),\n ])\n return {\n wasmUrl: assets[0]!,\n highlightQuerySource: mapQueryCaptures([assets[1]!].join('\\n'), captureMappings),\n foldQuerySource: mapQueryCaptures([].join('\\n'), captureMappings),\n injectionQuerySource: mapQueryCaptures([assets[2]!].join('\\n'), captureMappings),\n }\n },\n },\n]\nconst captureMappings: Readonly<Record<string, string>> = {\n escape: 'string.escape',\n boolean: 'constant.builtin',\n label: 'property',\n delimiter: 'punctuation.delimiter',\n module: 'namespace',\n 'module.builtin': 'namespace',\n method: 'function.method',\n 'method.call': 'function.method',\n field: 'property',\n parameter: 'variable.parameter',\n conditional: 'keyword.control',\n repeat: 'keyword.control',\n preproc: 'keyword',\n error: 'tag.error',\n 'text.strike': 'text.liter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