docs: Document pull diagnostics support for Ruby (#34028)
This is now supported. Release Notes: - N/A
This commit is contained in:
parent
c1307cead4
commit
c13322397e
1 changed files with 2 additions and 3 deletions
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue