-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
servers does not run #11
Labels
bug
Something isn't working
Comments
What is the version? latest version shouldn't have this code. |
i installed it via npm. |
Can you try 0.0.19? #8 use the wheel of tree-sitter-make |
|
Try pip install tree_sitter_make-0.0.1-cp38-abi3-linux_x86_64.whl The wheel comes from #8 (comment) |
Same result.
|
Then
|
Another error.
|
I think tree-sitter version is old. Try |
I could fix wrong behavior. diff --git a/src/make_language_server/utils.py b/src/make_language_server/utils.py
index cd11e91..8195516 100644
--- a/src/make_language_server/utils.py
+++ b/src/make_language_server/utils.py
@@ -15,7 +15,7 @@ SCHEMAS = {}
QUERIES = {}
language = Language(get_language_ptr())
parser = Parser()
-parser.set_language(language)
+parser.language = language
def get_query(name: str, filetype: FILETYPE = "make") -> Query: |
What is: pip list | grep tree-sitter |
Maybe related to this? |
mark as same bug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: