-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bug: LSP Message (autotools_ls) Unexpected error in LSP server, see server's logs for details
#3
Comments
I'll take a look. |
Can you provide your |
Happens for me in any Makefile I tried. Even in a minimal one like this one: foo:
echo |
I guess it is because in this language server, Goto Defintion only work for variable, function, recipe, and will raise NotImplementation Error for other things. In my LSP plugin (coc.nvim), the error was ignored and will not disturb users, however, in other LSP plugins, (such as nvim-lsp) the error will be thrown. I'll remove the code about raise NotImplementation, just let it does nothing when it meet any things which is not variable, function, recipe. |
Can you try #3? pip install git+https://github.com/Freed-Wu/autotools-language-server@iss3 |
Now the error changes, the LSP client exits with
|
Oh, I forget to publish a new version of tree-sitter-lsp. 😄 |
Can you use latest tree-sitter-lsp and try again? pip install git+https://github.com/Freed-Wu/tree-sitter-lsp |
yep, that works now 🥳 |
Good! The change will occur in next release. |
Thanks for this LSP, I was actually looking for some makefile tooling a while ago!
I set up autotools to be used via
nvim-lsp-config
. However, as soon as I enter an LSP server, I get this error a few dozen times per second:The respective LSP logs are similarly full of errors, just pasting the last few lines:
installed via
pip
on macOS 14.1 (M1), using Python 3.11The text was updated successfully, but these errors were encountered: