Skip to content

Commit

Permalink
Markdown exports language
Browse files Browse the repository at this point in the history
  • Loading branch information
quezo committed Nov 15, 2024
1 parent a8482a8 commit 2ba2594
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions markdown/binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ type MarkdownTree struct {
inlineIndices map[uintptr]int
}

func GetLanguage() *sitter.Language {
return tree_sitter_markdown.GetLanguage()
}

func (t *MarkdownTree) Edit(edit sitter.EditInput) {
t.blockTree.Edit(edit)
for _, tree := range t.inlineTrees {
Expand Down

0 comments on commit 2ba2594

Please sign in to comment.