Add an option for extra env vars in the Code extension

This commit is contained in:
lf- 2020-12-30 01:17:25 -08:00
parent e7d2b5888b
commit f7f6ac3554
4 changed files with 21 additions and 3 deletions

View file

@ -24,7 +24,7 @@ export class Ctx {
serverPath: string,
cwd: string,
): Promise<Ctx> {
const client = createClient(serverPath, cwd);
const client = createClient(serverPath, cwd, config.serverExtraEnv);
const statusBar = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left);
extCtx.subscriptions.push(statusBar);