-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtree-sitter.json
More file actions
70 lines (70 loc) · 1.94 KB
/
tree-sitter.json
File metadata and controls
70 lines (70 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/config.schema.json",
"grammars": [
{
"name": "html",
"scope": "text.html.basic",
"path": "crates/tree-sitter-html",
"file-types": ["html", "htm", "xhtml"],
"injection-regex": "^html$",
"highlights": "queries/highlights.scm",
"injections": "queries/injections.scm"
},
{
"name": "htmlx",
"camelcase": "HTMLX",
"scope": "source.htmlx",
"path": "crates/tree-sitter-htmlx",
"external-files": ["src/html/tag.h", "src/html/scanner.c"],
"file-types": ["htmlx"],
"injection-regex": "^htmlx$",
"highlights": ["queries/html/highlights.scm", "queries/highlights.scm"],
"injections": "queries/injections.scm"
},
{
"name": "svelte",
"camelcase": "Svelte",
"scope": "source.svelte",
"path": "crates/tree-sitter-svelte",
"external-files": [
"src/htmlx/html/tag.h",
"src/htmlx/html/scanner.c",
"src/htmlx/scanner.c"
],
"file-types": ["svelte"],
"injection-regex": "^svelte$",
"highlights": [
"queries/htmlx/html/highlights.scm",
"queries/htmlx/highlights.scm",
"queries/highlights.scm"
],
"injections": ["queries/htmlx/injections.scm", "queries/injections.scm"]
},
{
"name": "css",
"camelcase": "CSS",
"scope": "source.css",
"path": "crates/tree-sitter-css-svelte",
"external-files": ["src/scanner.c"],
"file-types": ["css"],
"injection-regex": "^css$",
"highlights": "queries/highlights.scm"
}
],
"metadata": {
"version": "0.1.8",
"license": "MIT",
"description": "Tree-sitter grammars for HTML, HTMLX, Svelte, and CSS",
"authors": [
{
"name": "mixednuts"
}
],
"links": {
"repository": "https://github.com/themixednuts/tree-sitter-htmlx"
}
},
"bindings": {
"rust": true
}
}