Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,5 @@
},
"peerDependencies": {
"tree-sitter": "^0.21.0"
},
"tree-sitter": [
{
"scope": "source.elixir",
"file-types": ["ex", "exs"],
"highlights": ["queries/highlights.scm"],
"tags": ["queries/tags.scm"],
"injection-regex": "^(ex|elixir)$"
}
]
}
}
40 changes: 40 additions & 0 deletions tree-sitter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"grammars": [
{
"name": "elixir",
"camelcase": "Elixir",
"scope": "source.elixir",
"path": ".",
"file-types": ["ex", "exs"],
"highlights": "queries/highlights.scm",
"tags": "queries/tags.scm",
"injection-regex": "^(ex|elixir)$"
}
],
"metadata": {
"version": "0.3.2",
"license": "Apache-2.0",
"description": "Elixir grammar for the tree-sitter parsing library",
"authors": [
{
"name": "Jonatan Kłosko",
"email": "[email protected]"
},
{
"name": "Michael Davis",
"email": "[email protected]"
}
],
"links": {
"repository": "https://github.com/elixir-lang/tree-sitter-elixir"
}
},
"bindings": {
"c": true,
"go": true,
"node": true,
"python": true,
"rust": true,
"swift": true
}
}
Loading