Use get_language from tree-sitter-language-pack
#6324
dhirschfeld
started this conversation in
Ideas
Replies: 4 comments 11 replies
|
Jsut opening this discussion to see if you'd be open to a PR making this change? |
0 replies
|
The current function allows developers to install only |
8 replies
|
One other benefit would be access to many more languages than are available individually, as binary wheels. |
3 replies
|
Put in a PR to add this functionality: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently
textualhas a customget_languagefunction:textual/src/textual/_tree_sitter.py
Lines 14 to 35 in 88cbc50
It might be easier to just depend on
tree-sitter-language-packand reuse theget_languagefunction defined there?https://github.com/Goldziher/tree-sitter-language-pack
All reactions