We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 303737d + 7198cd0 commit 9a6294dCopy full SHA for 9a6294d
editors/code/src/bootstrap.ts
@@ -1,6 +1,6 @@
1
import * as vscode from "vscode";
2
import * as os from "os";
3
-import { Config } from "./config";
+import { Config, substituteVSCodeVariables } from "./config";
4
import { log, isValidExecutable } from "./util";
5
import { PersistentState } from "./persistent_state";
6
import { exec } from "child_process";
@@ -132,7 +132,7 @@ async function getServer(
132
return undefined;
133
}
134
function serverPath(config: Config): string | null {
135
- return process.env.__RA_LSP_SERVER_DEBUG ?? config.serverPath;
+ return process.env.__RA_LSP_SERVER_DEBUG ?? substituteVSCodeVariables(config.serverPath);
136
137
138
async function isNixOs(): Promise<boolean> {
0 commit comments