We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am testing out usage of https://pypi.org/project/tree-sitter-languages/ to avoid building the language parser. As I'm running a simple test I can't invoke def get_language(language)
Example
$ python3 java_scope_finder.py ./data/Example.java 7 Traceback (most recent call last): File "/Users/jmatthews/git/jwmatthews/treesitter_example/java_scope_finder.py", line 263, in <module> main() File "/Users/jmatthews/git/jwmatthews/treesitter_example/java_scope_finder.py", line 250, in main language = get_language('java') ^^^^^^^^^^^^^^^^^^^^ File "tree_sitter_languages/core.pyx", line 14, in tree_sitter_languages.core.get_language TypeError: __init__() takes exactly 1 argument (2 given)
Looks like tree-sitter-languages last release '1.10.2' is not compatible with a newer 'tree-sitter'.
Workaround I ended up with is to downgrade tree-sitter.
$ cat requirements.txt tree-sitter==0.21.3 tree-sitter-languages==1.10.2
The text was updated successfully, but these errors were encountered:
Related to grantjenks/py-tree-sitter-languages#71
Sorry, something went wrong.
[nvim]: remove autotools_ls due to known issue
0ebd0c9
Freed-Wu/autotools-language-server#11 jwmatthews/treesitter_example#1 grantjenks/py-tree-sitter-languages#64
No branches or pull requests
I am testing out usage of https://pypi.org/project/tree-sitter-languages/ to avoid building the language parser.
As I'm running a simple test I can't invoke def get_language(language)
Example
Looks like tree-sitter-languages last release '1.10.2' is not compatible with a newer 'tree-sitter'.
Workaround I ended up with is to downgrade tree-sitter.
The text was updated successfully, but these errors were encountered: