tree-sitter implementation for the confindent configuration language
at main 15 lines 383 B view raw
1package tree_sitter_confindent_test 2 3import ( 4 "testing" 5 6 tree_sitter "github.com/tree-sitter/go-tree-sitter" 7 tree_sitter_confindent "tangled.org/@nove.dev/tree-sitter-confindent/bindings/go" 8) 9 10func TestCanLoadGrammar(t *testing.T) { 11 language := tree_sitter.NewLanguage(tree_sitter_confindent.Language()) 12 if language == nil { 13 t.Errorf("Error loading Confindent grammar") 14 } 15}