-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
coc-solargraph not working at all; failing silently #59
Comments
Do you have |
I have similar issues, for example when I try to find the definition of a class or a method it just always says: |
I have the similar issues, but I don't know how to report this bug. Do someone give me some tricks? I have set |
@yetrun @george-carlin I have this issue. Try the following: Open vim, wait for the solargraph server to launch. Wait a few seconds more that a diagnosis attempts to run. Execute :CoCInfo See if you see an exception in the logs. I got the following exception:
edit: After digging, seems to be a problem with the Solargraph gem. Open a ruby terminal, type:
Check out if the config is indeed your config. Seems like the default config might be bugging. |
I followed the exact instructions in this blog post to try and get Neovim/Coc set up for Ruby development with solargraph, but solargraph doesn't appear to be doing anything. When I open a
*.rb
file and e.g. save it with obvious syntax errors, coc doesn't detect the errors and there's no discernible difference between my current setup and not having coc/solargraph installed at all. (Apart from the fact that when I initially open the file I see[coc.nvim] Solargraph is ready.
in my status bar.)How do I even begin diagnosing the issue?
I'm using Neovim v0.4.4 on a Mac.
coc
is installed viavim-plug
withPlug 'neoclide/coc.nvim', {'branch': 'release'}
. Ruby is installed viaasdf
.solargraph
is installed and available in my path:I don't think there's a problem with my general Coc setup, because Coc works fine in other, non-Ruby projects. The only coc-related config in my
init.vim
file is the default suggested stuff from thecoc
readme, plus the linelet g:coc_global_extensions = ['coc-solargraph']
as suggested by the blog post linked above, but if I comment out one or both of these in the config it doesn't make a difference..solargraph.yml
is in the root dir of my project and is just the default file created bysolargraph config
.Here's what the output of
CocInfo
andCocOpenLog
look like:What am I doing wrong?
The text was updated successfully, but these errors were encountered: