Solargraph gem v0.49.0 seems to work fine for me. However with v0.50.0, whenever I open a .rb file in VS Code, I repeatedly get the following errors no matter where I click in the file:
[Error - 12:36:41 AM] Request textDocument/hover failed.
Message: [TypeError] no implicit conversion of nil into String
Code: -32603
[Error - 12:36:41 AM] Request textDocument/documentHighlight failed.
Message: [TypeError] no implicit conversion of nil into String
Code: -32603
I saw the following error pop up as well at one point, but I'm not sure how to reproduce it:
Problem
Solargraph gem v0.49.0 seems to work fine for me. However with v0.50.0, whenever I open a .rb file in VS Code, I repeatedly get the following errors no matter where I click in the file:
I saw the following error pop up as well at one point, but I'm not sure how to reproduce it:
I do not get these errors when using gem v0.49.0.
My setup
Versions
ruby:3.2.2
Docker image)Solargraph config
I have env var
SOLARGRAPH_GLOBAL_CONFIG=~/.config/solargraph/config.yml
. Here is my ~/.config/solargraph/config.yml file:VS Code config
Here are my Ruby / Solargraph settings inside my settings.json file:
Rubocop config
Here is my .rubocop.yml file: