mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
vscode: refactor platform artifact name query to switch statement, move BinarySource union variants into a namespace
This commit is contained in:
parent
bdd88c2fad
commit
539daf4454
4 changed files with 93 additions and 74 deletions
|
@ -10,7 +10,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 = workspace.workspaceFolders?.[0]?.uri.fsPath ?? '.';
|
||||
|
||||
const raLspServerPath = await ensureLanguageServerBinary(config.raLspServerSource);
|
||||
const raLspServerPath = await ensureLanguageServerBinary(config.langServerSource);
|
||||
if (!raLspServerPath) return null;
|
||||
|
||||
const run: lc.Executable = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue