( server: LspServerDefinition, context?: LspRuntimeContext, )
| 92 | } |
| 93 | |
| 94 | export async function getRuntimeUninstallCommand( |
| 95 | server: LspServerDefinition, |
| 96 | context?: LspRuntimeContext, |
| 97 | ): Promise<string | null> { |
| 98 | const settingsContext = getSettingsContext(server, context, "command"); |
| 99 | const provider = await getProvider(server, context, "command"); |
| 100 | return ( |
| 101 | provider?.getUninstallCommand?.( |
| 102 | server, |
| 103 | settingsContext, |
| 104 | ) ?? null |
| 105 | ); |
| 106 | } |
| 107 | |
| 108 | export async function getRuntimeLabelForServer( |
| 109 | server: LspServerDefinition, |
no test coverage detected