-
Notifications
You must be signed in to change notification settings - Fork 84
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
Server status: not started #91
Comments
It sounds like the server might not be responding to the initialize call, or the client might be failing to understand it. I'll need to get some subset of #19 implemented to make it easier to diagnose what might be happening. In the mean time if you'd like to attempt to get a communication log you could try following https://github.com/natebosch/vim-lsc/wiki/Server-Debugging-Tips#logging-communication-across-stdio |
Here is my
And the |
Sorry, there is nothing in |
When I start vim I have this message |
With a JS file, I have :
I still have the error even if the server seems to be correctly started. |
Ah - that's the issue. What you might need to do is start solargraph in a separate terminal, and configure your server in vim-lsc to be Hopefully that port number is stable... This workflow isn't ideal, but I'm not sure how feasible it would be to solve it. I filed #92 to track but I'm not expecting to be able to solve it anytime soon. |
It's a little bit better but I have another error :
|
With Javascript, I use
So it seems than the URL used is malformed. |
We're getting closer 😄 I did notice this in the original logs: We do attempt to URI encode paths which should have replaced that space with something else: Line 7 in 3594046
I'm not quite sure what might be happening there... |
Sorry, this is a typo when I changed the path manually (To remove the project I'm working for). There is no space in the real path. |
Does the URI look correct to you in the real logs? Anything odd in terms of special characters? |
I got it! I added a
So this is not related to vim-lsc. I don't know if it's the same reason for |
Surprisingly, it seems to works with solargraph (with the host and port). I will try the rest of the day to be sure. |
I close this issue because it works in |
Hello,
I tried to use
vim-lsc
with ruby and javascript files and I always have the message "Server status: not started".I have this config lines for vim-lsc :
I try with this file :
I have the error message when I go to
blabla.[test]
on the last line and I dogr
.The server is running because I have some results when I do
ps aux | grep solargraph
. Solargraph is launched when I go on Ruby file.I have the exact same with Javascript files.
Do I have something more to do?
The text was updated successfully, but these errors were encountered: