tree-sitter-grammars / tree-sitter-markdown

Markdown grammar for tree-sitter
MIT License
379 stars 45 forks source link

Compile external scanner in rust build script #13

Closed maxbrunsfeld closed 2 years ago

maxbrunsfeld commented 2 years ago

Hi, awesome work on this parser!

I was just trying it out on a rust project and I noticed that the build script hadn't yet been set up to work in the rust crate (the CLI doesn't auto-detect that you're using an external scanner, so you have to manually uncomment some code). This PR just uncomments the relevant lines, enabling the project to be consumed directly from rust. Thanks!

MDeiml commented 2 years ago

Oh, thanks a lot. Didn't realize that.