Open LeandroRezendeCoutinho opened 1 month ago
Probably changes in this pull requests https://github.com/zed-industries/zed/pull/18318 are related.
The current behaviour is that any manual override of the binary
path for a lsp
won't be passed to an extension here.
@LeandroRezendeCoutinho the workaround is to specify the arguments for the Solargraph LSP, like this:
"solargraph": {
"initialization_options": {
"diagnostics": true,
"formatting": true
},
"binary": {
"path": "/home/leandro/.asdf/shims/solargraph",
"arguments: ["stdio"]
}
}
Check for existing issues
Describe the bug / provide steps to reproduce it
Default configuration.
Alternative configuration informing solargraph path.
Restart lsp has no effect. Tested in projects with ruby-lps together and projects with only solargraph. Both dont work. ruby-lps in working fine.
Environment
Ubuntu 24.04 Ruby 2.5.9 asdf Ruby 3.3.0 asdf
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log