add bindings and fix documentation
This commit is contained in:
1 parent
0e8ef8e7a5
commit
53e1ee2036
34 files changed
+1472
-12
No files matched your search
Generated
+15
@@ -0,0 +1,15 @@
|
||||
package tree_sitter_django_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
tree_sitter "github.com/tree-sitter/go-tree-sitter"
|
||||
tree_sitter_django "github.com/danhanson/tree-sitter-django/bindings/go"
|
||||
)
|
||||
|
||||
func TestCanLoadGrammar(t *testing.T) {
|
||||
language := tree_sitter.NewLanguage(tree_sitter_django.Language())
|
||||
if language == nil {
|
||||
t.Errorf("Error loading Django Parser grammar")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user