mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Add an option for extra env vars in the Code extension
This commit is contained in:
parent
e7d2b5888b
commit
f7f6ac3554
4 changed files with 21 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue