aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/client.ts
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-14 22:15:06 +0000
committerVeetaha <[email protected]>2020-02-14 22:15:06 +0000
commitf61134e1980580050f34701db3441081a5519e4c (patch)
treef84b0ce0cf2175be023f111229bdd2ce14911a1d /editors/code/src/client.ts
parent9ba801befd70892bf40429512e890389171aa59f (diff)
vscode: renmed ArtifactMetadata -> ArtifactReleaseInfo, languageServer -> langServer
Diffstat (limited to 'editors/code/src/client.ts')
-rw-r--r--editors/code/src/client.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts
index dcf9d0c06..33d9b66df 100644
--- a/editors/code/src/client.ts
+++ b/editors/code/src/client.ts
@@ -2,7 +2,7 @@ import * as lc from 'vscode-languageclient';
2import * as vscode from 'vscode'; 2import * as vscode from 'vscode';
3 3
4import { Config } from './config'; 4import { Config } from './config';
5import { ensureLanguageServerBinary } from './installation/language_server'; 5import { ensureLangServerBinary } from './installation/lang_server';
6import { CallHierarchyFeature } from 'vscode-languageclient/lib/callHierarchy.proposed'; 6import { CallHierarchyFeature } from 'vscode-languageclient/lib/callHierarchy.proposed';
7 7
8export async function createClient(config: Config): Promise<null | lc.LanguageClient> { 8export async function createClient(config: Config): Promise<null | lc.LanguageClient> {
@@ -11,7 +11,7 @@ export async function createClient(config: Config): Promise<null | lc.LanguageCl
11 // It might be a good idea to test if the uri points to a file. 11 // It might be a good idea to test if the uri points to a file.
12 const workspaceFolderPath = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath ?? '.'; 12 const workspaceFolderPath = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath ?? '.';
13 13
14 const langServerPath = await ensureLanguageServerBinary(config.langServerBinarySource); 14 const langServerPath = await ensureLangServerBinary(config.langServerBinarySource);
15 if (!langServerPath) return null; 15 if (!langServerPath) return null;
16 16
17 const run: lc.Executable = { 17 const run: lc.Executable = {