Skip to content

Commit 4bd611f

Browse files
committed
chore: add basic tree-sitter.json file
Signed-off-by: Nicholas Sielicki <[email protected]>
1 parent cfc53fd commit 4bd611f

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

tree-sitter.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/config.schema.json",
3+
"grammars": [
4+
{
5+
"name": "nix",
6+
"camelcase": "Nix",
7+
"title": "Nix",
8+
"scope": "source.nix",
9+
"file-types": ["nix"],
10+
"injection-regex": "^nix$",
11+
"class-name": "TreeSitterNix"
12+
}
13+
],
14+
"metadata": {
15+
"version": "0.2.0",
16+
"license": "MIT",
17+
"description": "Nix grammar for tree-sitter",
18+
"authors": [
19+
{
20+
"name": "Charles Strahan",
21+
"email": "[email protected]",
22+
"url": "https://www.cstrahan.com/"
23+
}
24+
],
25+
"links": {
26+
"repository": "https://github.com/nix-community/tree-sitter-nix"
27+
}
28+
},
29+
"bindings": {
30+
"c": true,
31+
"go": true,
32+
"node": true,
33+
"python": true,
34+
"rust": true,
35+
"swift": true,
36+
"zig": false
37+
}
38+
}

0 commit comments

Comments
 (0)