Skip to content

Commit fedf3f7

Browse files
snjezargrunber
authored andcommitted
Fix JavaLSReady context
Signed-off-by: Snjezana Peco <[email protected]>
1 parent aee592a commit fedf3f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/standardLanguageClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ export class StandardLanguageClient {
154154
snippetCompletionProvider.dispose();
155155
registerDocumentValidationListener(context, this.languageClient);
156156
registerCodeCompletionTelemetryListener();
157+
commands.executeCommand('setContext', 'javaLSReady', true);
157158
break;
158159
case 'Started':
159160
this.status = ClientStatus.started;
160161
serverStatus.updateServerStatus(ServerStatusKind.ready);
161-
commands.executeCommand('setContext', 'javaLSReady', true);
162162
apiManager.updateStatus(ClientStatus.started);
163163
break;
164164
case 'Error':

0 commit comments

Comments
 (0)