Skip to content

Commit

Permalink
fix: regenerate bindings (and update config file)
Browse files Browse the repository at this point in the history
  • Loading branch information
ribru17 committed Oct 8, 2024
1 parent f767fb0 commit 8b4c336
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 20 deletions.
4 changes: 2 additions & 2 deletions bindings/go/binding_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions bindings/go/go.mod

This file was deleted.

5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/tree-sitter-grammars/tree-sitter-query

go 1.22

require github.com/tree-sitter/go-tree-sitter v0.23.1
15 changes: 2 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,5 @@
"test": "make test",
"version": "make -s update",
"prebuildify": "prebuildify --napi --strip"
},
"tree-sitter": [
{
"scope": "source.query",
"injection-regex": "^query$",
"highlights": "queries/query/highlights.scm",
"injections": "queries/query/injections.scm",
"file-types": [
"scm"
]
}
]
}
}
}
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": "query",
"camelcase": "Query",
"scope": "source.query",
"path": ".",
"file-types": [
"scm"
],
"highlights": "queries/query/highlights.scm",
"injections": "queries/query/injections.scm",
"injection-regex": "^query$"
}
],
"metadata": {
"version": "0.4.0",
"license": "Apache-2.0",
"description": "TS query grammar for tree-sitter",
"authors": [
{
"name": "Steven Sojka"
},
{
"name": "Stephan Seitz"
}
],
"links": {
"repository": "https://github.com/tree-sitter-grammars/tree-sitter-query"
}
},
"bindings": {
"c": true,
"go": true,
"node": true,
"python": true,
"rust": true,
"swift": true
}
}

0 comments on commit 8b4c336

Please sign in to comment.