Skip to content

Writing an extension with tree-sitter grammar in a subdirectory #9901

Closed Answered by maxdeviant
Dekker1 asked this question in Q&A
Discussion options

You must be logged in to vote

This is supported by the path field:

[grammars.minizinc]
repository = "https://github.com/shackle-rs/schackle"
commit = "a4b45135832dadb5ae996ef3efc0a5f4d03d16ee"
path = "parsers/tree-sitter-minizinc"

It was added in #9965, so I don't think it's made its way to a released version yet for use with the "Install Dev Extension" functionality (although it will be included in today's Preview release).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Dekker1
Comment options

Answer selected by maxdeviant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants