query after version 0.21.3 #275
Replies: 1 comment
-
Install tree-sitter-cpp etc. instead of tree-sitter-languages. |
Beta Was this translation helpful? Give feedback.
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.
-
With latest tree-sitter for python (https://pypi.org/project/tree-sitter/) or any version after 0.21.3
I wondered what is the best practice for query.
This what worked for me on 0.21.3:
please assume the code is in code and my query is in my_query
This is no longer work as get_language expect an object?
Anyhow, How should I do it?
Beta Was this translation helpful? Give feedback.
All reactions