-
Notifications
You must be signed in to change notification settings - Fork 109
/
tree-sitter.json
104 lines (104 loc) · 2.73 KB
/
tree-sitter.json
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"grammars": [
{
"name": "typescript",
"camelcase": "TypeScript",
"scope": "source.ts",
"path": "typescript",
"external-files": [
"common/scanner.h"
],
"file-types": [
"ts"
],
"highlights": [
"queries/highlights.scm",
"node_modules/tree-sitter-javascript/queries/highlights.scm"
],
"injections": "node_modules/tree-sitter-javascript/queries/injections.scm",
"locals": [
"queries/locals.scm",
"node_modules/tree-sitter-javascript/queries/locals.scm"
],
"tags": [
"queries/tags.scm",
"node_modules/tree-sitter-javascript/queries/tags.scm"
],
"injection-regex": "^(ts|typescript)$"
},
{
"name": "tsx",
"camelcase": "TSX",
"scope": "source.tsx",
"path": "tsx",
"external-files": [
"common/scanner.h"
],
"file-types": [
"tsx"
],
"highlights": [
"queries/highlights.scm",
"node_modules/tree-sitter-javascript/queries/highlights-jsx.scm",
"node_modules/tree-sitter-javascript/queries/highlights.scm"
],
"injections": "node_modules/tree-sitter-javascript/queries/injections.scm",
"locals": "node_modules/tree-sitter-javascript/queries/locals.scm",
"tags": [
"queries/tags.scm",
"node_modules/tree-sitter-javascript/queries/tags.scm"
],
"injection-regex": "^(ts|typescript)$"
},
{
"name": "flow",
"camelcase": "Flow",
"scope": "source.js.flow",
"path": "tsx",
"external-files": [
"common/scanner.h"
],
"file-types": [
"js"
],
"highlights": [
"queries/highlights.scm",
"node_modules/tree-sitter-javascript/queries/highlights-jsx.scm",
"node_modules/tree-sitter-javascript/queries/highlights.scm"
],
"injections": "node_modules/tree-sitter-javascript/queries/injections.scm",
"locals": "node_modules/tree-sitter-javascript/queries/locals.scm",
"tags": [
"queries/tags.scm",
"node_modules/tree-sitter-javascript/queries/tags.scm"
],
"content-regex": "@flow"
}
],
"metadata": {
"version": "0.23.2",
"license": "MIT",
"description": "TypeScript and TSX grammars for tree-sitter",
"authors": [
{
"name": "Max Brunsfeld",
"email": "maxbrunsfeld@gmail.com"
},
{
"name": "Amaan Qureshi",
"email": "amaanq12@gmail.com"
}
],
"links": {
"repository": "https://github.com/tree-sitter/tree-sitter-typescript"
}
},
"bindings": {
"c": true,
"go": true,
"node": true,
"python": true,
"rust": true,
"swift": true
}
}