Use get_language from tree-sitter-language-pack
#6324
Replies: 4 comments 10 replies
-
|
Jsut opening this discussion to see if you'd be open to a PR making this change? |
Beta Was this translation helpful? Give feedback.
-
|
The current function allows developers to install only |
Beta Was this translation helpful? Give feedback.
-
|
One other benefit would be access to many more languages than are available individually, as binary wheels. |
Beta Was this translation helpful? Give feedback.
-
|
Put in a PR to add this functionality: |
Beta Was this translation helpful? Give feedback.
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
Beta Was this translation helpful? Give feedback.
All reactions