(serverId, timeout)
| 482 | } |
| 483 | |
| 484 | async function persistStartupTimeout(serverId, timeout) { |
| 485 | await updateServerConfig(serverId, { startupTimeout: timeout }); |
| 486 | lspApi.servers.update(serverId, (current) => ({ |
| 487 | ...current, |
| 488 | startupTimeout: timeout, |
| 489 | })); |
| 490 | } |
| 491 | |
| 492 | async function persistInitOptions(serverId, value) { |
| 493 | await updateServerConfig(serverId, { initializationOptions: value }); |
no test coverage detected