docs: Document pull diagnostics support for Ruby (#34028)

This is now supported.

Release Notes:

- N/A
This commit is contained in:
Andy Waite 2025-07-18 05:46:36 -04:00 committed by GitHub
parent c1307cead4
commit c13322397e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -127,7 +127,7 @@ Solargraph reads its configuration from a file called `.solargraph.yml` in the r
## Setting up `ruby-lsp` ## Setting up `ruby-lsp`
Ruby LSP uses pull-based diagnostics which Zed doesn't support yet. We can tell Zed to disable it by adding the following to your `settings.json`: You can pass Ruby LSP configuration to `initialization_options`, e.g.
```json ```json
{ {
@ -140,8 +140,7 @@ Ruby LSP uses pull-based diagnostics which Zed doesn't support yet. We can tell
"ruby-lsp": { "ruby-lsp": {
"initialization_options": { "initialization_options": {
"enabledFeatures": { "enabledFeatures": {
// This disables diagnostics // "someFeature": false
"diagnostics": false
} }
} }
} }