mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-09 18:02:48 +00:00
Rename config value for server Path
This commit is contained in:
parent
c0fa5e2246
commit
c855e36696
6 changed files with 7 additions and 7 deletions
|
@ -111,7 +111,7 @@ export class Config {
|
|||
}
|
||||
|
||||
get serverSource(): null | BinarySource {
|
||||
const serverPath = RA_LSP_DEBUG ?? this.cfg.get<null | string>("raLspServerPath");
|
||||
const serverPath = RA_LSP_DEBUG ?? this.cfg.get<null | string>("serverPath");
|
||||
|
||||
if (serverPath) {
|
||||
return {
|
||||
|
|
|
@ -29,7 +29,7 @@ export async function ensureServerBinary(source: null | BinarySource): Promise<n
|
|||
|
||||
vscode.window.showErrorMessage(
|
||||
`Unable to run ${source.path} binary. ` +
|
||||
`To use the pre-built language server, set "rust-analyzer.raLspServerPath" ` +
|
||||
`To use the pre-built language server, set "rust-analyzer.serverPath" ` +
|
||||
"value to `null` or remove it from the settings to use it by default."
|
||||
);
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue