diff options
author | lf- <[email protected]> | 2020-12-30 09:17:25 +0000 |
---|---|---|
committer | lf- <[email protected]> | 2020-12-30 12:51:07 +0000 |
commit | f7f6ac3554d0b5e380985b1a2070000bfd8ef77b (patch) | |
tree | 63d549ecaab44bccbcfc996660beeeb698951c67 /editors/code/src/ctx.ts | |
parent | e7d2b5888b8a7e632ae9080108ccbc450316fd86 (diff) |
Add an option for extra env vars in the Code extension
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 d39864d33..e7585184b 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts | |||
@@ -24,7 +24,7 @@ export class Ctx { | |||
24 | serverPath: string, | 24 | serverPath: string, |
25 | cwd: string, | 25 | cwd: string, |
26 | ): Promise<Ctx> { | 26 | ): Promise<Ctx> { |
27 | const client = createClient(serverPath, cwd); | 27 | const client = createClient(serverPath, cwd, config.serverExtraEnv); |
28 | 28 | ||
29 | const statusBar = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left); | 29 | const statusBar = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left); |
30 | extCtx.subscriptions.push(statusBar); | 30 | extCtx.subscriptions.push(statusBar); |