tree-sitter / tree-sitter-c

C grammar for tree-sitter
MIT License
225 stars 100 forks source link

Add TAGS_QUERY to rust bindings #175

Closed Squadrick closed 10 months ago

Squadrick commented 10 months ago

Context: TAGGING_QUERY as a const is used by Tabby for LLM-based autocompletion. Other tree-sitter libraries for other languages expose this constant: tree-sitter-ruby, tree-sitter-go, etc.

Exposing the same const for tree-sitter-cpp.

Related: https://github.com/tree-sitter/tree-sitter-cpp/pull/233

Squadrick commented 10 months ago

Duplicates: https://github.com/tree-sitter/tree-sitter-c/pull/173.

Squadrick commented 10 months ago

@amaanq Reopening this, please review.

Squadrick commented 9 months ago

@amaanq Any chance we can have a new release tag for this commit?

amaanq commented 9 months ago

Would you just need a tagged commit or an actual release on crates/npmjs? If the former, why not just use HEAD then

Squadrick commented 9 months ago

I need an actual release on crates. If that's too much work for just this commit, no worries. I have a workaround for now, using rev.