vscode: rename raLspServer variable to langServer

This commit is contained in:
Veetaha 2020-02-09 00:42:51 +02:00
parent 8f291c0089
commit fd6a98ef6e

View File

@ -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)
};
}