diff options
author | Kirill Bulatov <[email protected]> | 2020-11-15 22:19:04 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-05-23 20:46:20 +0100 |
commit | d9a5490646f68efdb70f84713d3a418a2b2a0b00 (patch) | |
tree | 2cad71ad7056d07c3e06c6566bd5b74a6cae5054 /editors/code/src/ctx.ts | |
parent | 16054887102104208f4a0fc0e75e702b85a2eae8 (diff) |
Start rust-analyzer server for arbitrary rust files
Diffstat (limited to 'editors/code/src/ctx.ts')
-rw-r--r-- | editors/code/src/ctx.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index bd023f803..9d8620823 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts | |||
@@ -22,7 +22,7 @@ export class Ctx { | |||
22 | config: Config, | 22 | config: Config, |
23 | extCtx: vscode.ExtensionContext, | 23 | extCtx: vscode.ExtensionContext, |
24 | serverPath: string, | 24 | serverPath: string, |
25 | cwd: string, | 25 | cwd?: string, |
26 | ): Promise<Ctx> { | 26 | ): Promise<Ctx> { |
27 | const client = createClient(serverPath, cwd, config.serverExtraEnv); | 27 | const client = createClient(serverPath, cwd, config.serverExtraEnv); |
28 | 28 | ||