(id: string, next: any)
| 77 | }, [tools]); |
| 78 | |
| 79 | const updateLsp = (id: string, next: any) => { |
| 80 | if (!config) return; |
| 81 | saveConfig({ |
| 82 | ...config, |
| 83 | lsp: { |
| 84 | ...(config.lsp || {}), |
| 85 | [id]: { ...(config.lsp?.[id] || {}), ...next }, |
| 86 | }, |
| 87 | }); |
| 88 | }; |
| 89 | |
| 90 | const updateFormatter = (id: string, next: any) => { |
| 91 | if (!config) return; |
no test coverage detected