ikatyang / tree-sitter-markdown

Markdown grammar for tree-sitter
https://ikatyang.github.io/tree-sitter-markdown
MIT License
183 stars 29 forks source link

Avoid crash #24

Closed ikatyang closed 3 years ago

ikatyang commented 3 years ago

Context: https://github.com/nvim-treesitter/nvim-treesitter/issues/872#issuecomment-770395213

David-Else commented 3 years ago

It would be great to get those segfaults gone to allow treesitter fenced language highlighting in Neovim! Sorry I don't program C++ :(

https://github.com/nvim-treesitter/nvim-treesitter/issues/1126#issuecomment-812166109

aktau commented 3 years ago

Sub-syntaxes in fenced code blocks sound awesome. Though my main interest in having an actual good parser for Markdown syntax in Neovim. Due to the length of some fenced blocks, the current regex parser gets really confused a lot. Thanks for writing this parser @ikatyang, looking forward to getting it crash-free enough.