Rename config value for server Path
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user