mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
vscode: rename raLspServer variable to langServer
This commit is contained in:
parent
8f291c0089
commit
fd6a98ef6e
1 changed files with 3 additions and 3 deletions
|
@ -86,12 +86,12 @@ export class Config {
|
|||
ctx: vscode.ExtensionContext,
|
||||
config: vscode.WorkspaceConfiguration
|
||||
): null | BinarySource {
|
||||
const raLspServerPath = RA_LSP_DEBUG ?? config.get<null | string>("raLspServerPath");
|
||||
const langServerPath = RA_LSP_DEBUG ?? config.get<null | string>("raLspServerPath");
|
||||
|
||||
if (raLspServerPath) {
|
||||
if (langServerPath) {
|
||||
return {
|
||||
type: BinarySource.Type.ExplicitPath,
|
||||
path: Config.expandPathResolving(raLspServerPath)
|
||||
path: Config.expandPathResolving(langServerPath)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue