(
server: LspServerDefinition,
context: LspRuntimeContext = {},
runtimeAction: LspRuntimeContext["runtimeAction"] = "command",
)
| 7 | } from "./types"; |
| 8 | |
| 9 | function getSettingsContext( |
| 10 | server: LspServerDefinition, |
| 11 | context: LspRuntimeContext = {}, |
| 12 | runtimeAction: LspRuntimeContext["runtimeAction"] = "command", |
| 13 | ): LspRuntimeContext { |
| 14 | return { |
| 15 | ...context, |
| 16 | serverId: context.serverId || server.id, |
| 17 | allowNonTerminalWorkspace: true, |
| 18 | runtimeAction, |
| 19 | }; |
| 20 | } |
| 21 | |
| 22 | async function getProvider( |
| 23 | server: LspServerDefinition, |
no outgoing calls
no test coverage detected