Skip to content

Commit

Permalink
Fix JavaLSReady context
Browse files Browse the repository at this point in the history
Signed-off-by: Snjezana Peco <[email protected]>
  • Loading branch information
snjeza authored and rgrunber committed Sep 8, 2023
1 parent aee592a commit fedf3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/standardLanguageClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ export class StandardLanguageClient {
snippetCompletionProvider.dispose();
registerDocumentValidationListener(context, this.languageClient);
registerCodeCompletionTelemetryListener();
commands.executeCommand('setContext', 'javaLSReady', true);
break;
case 'Started':
this.status = ClientStatus.started;
serverStatus.updateServerStatus(ServerStatusKind.ready);
commands.executeCommand('setContext', 'javaLSReady', true);
apiManager.updateStatus(ClientStatus.started);
break;
case 'Error':
Expand Down

0 comments on commit fedf3f7

Please sign in to comment.