mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
vscode: add version and storage parameters to github binary source
This commit is contained in:
parent
d976772716
commit
8533fc437b
5 changed files with 35 additions and 3 deletions
|
@ -11,7 +11,7 @@ export async function createClient(config: Config): Promise<null | lc.LanguageCl
|
|||
// It might be a good idea to test if the uri points to a file.
|
||||
const workspaceFolderPath = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath ?? '.';
|
||||
|
||||
const serverPath = await ensureServerBinary(config.serverBinarySource);
|
||||
const serverPath = await ensureServerBinary(config.serverSource);
|
||||
if (!serverPath) return null;
|
||||
|
||||
const run: lc.Executable = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue