File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import * as vscode from 'vscode';
4
4
import { CallHierarchyFeature } from 'vscode-languageclient/lib/callHierarchy.proposed' ;
5
5
import { SemanticTokensFeature , DocumentSemanticsTokensSignature } from 'vscode-languageclient/lib/semanticTokens.proposed' ;
6
6
7
- export async function createClient ( serverPath : string , cwd : string ) : Promise < lc . LanguageClient > {
7
+ export function createClient ( serverPath : string , cwd : string ) : lc . LanguageClient {
8
8
// '.' Is the fallback if no folder is open
9
9
// TODO?: Workspace folders support Uri's (eg: file://test.txt).
10
10
// It might be a good idea to test if the uri points to a file.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export class Ctx {
21
21
serverPath : string ,
22
22
cwd : string ,
23
23
) : Promise < Ctx > {
24
- const client = await createClient ( serverPath , cwd ) ;
24
+ const client = createClient ( serverPath , cwd ) ;
25
25
const res = new Ctx ( config , extCtx , client , serverPath ) ;
26
26
res . pushCleanup ( client . start ( ) ) ;
27
27
await client . onReady ( ) ;
You can’t perform that action at this time.
0 commit comments