Skip to content

Commit 2ba2594

Browse files
committed
Markdown exports language
1 parent a8482a8 commit 2ba2594

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

markdown/binding.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ type MarkdownTree struct {
1414
inlineIndices map[uintptr]int
1515
}
1616

17+
func GetLanguage() *sitter.Language {
18+
return tree_sitter_markdown.GetLanguage()
19+
}
20+
1721
func (t *MarkdownTree) Edit(edit sitter.EditInput) {
1822
t.blockTree.Edit(edit)
1923
for _, tree := range t.inlineTrees {

0 commit comments

Comments
 (0)