lsp-mode
lsp-mode copied to clipboard
vls doesn't work with LSP mode
Thank you for the bug report
- [X] I am using the latest version of
lsp-mode
related packages. - [X] I checked FAQ and Troubleshooting sections
- [x] You may also try reproduce the issue using clean environment using the following command:
M-x lsp-start-plain
Bug description
vls doesn't seem to communicate with LSP mode, being stuck in starting mode, it works with eglot.
LSP log is empty, only printing the opening message from vls, no other messages go through.
Steps to reproduce
Expected behavior
vls starting and communicating with lsp-mode, giving completion and other supported lsp features.
Which Language Server did you use?
OS
MacOS
Error callstack
No response
Anything else?
This server works out of the box with eglot, and I've had other people confirm that they haven't been able to get it working with lsp-mode either.
What happens when you do M-x lsp
? What do you have in M-x lsp-describe-session? Is there client/server communication?
It runs the server, the server prints a warning that it's a WIP server, afterwards there is no further communication. This is the output from M-x describe-session
Here's an issue with vls for the same problem.
Might it have something to do with lsp-mode expecting a language server called 'vls' to be actually the Vue language server and getting confused?
As far as I can see the server is not sending resonse ot initialize request but I have to debug it more.