Skip to content

Commit ef9677e

Browse files
committed
Fix the file-status missing issue.
Fixes #362. The `await` was introduced by an unintended change in the languageclient-v8 patch. FileStatus listens the client state-changing event, which should not wait until the client has been started (otherwise, we will miss some state-change events).
1 parent 538496c commit ef9677e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clangd-context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export class ClangdContext implements vscode.Disposable {
163163
memoryUsage.activate(this);
164164
ast.activate(this);
165165
openConfig.activate(this);
166-
await this.client.start();
166+
this.client.start();
167167
console.log('Clang Language Server is now active!');
168168
fileStatus.activate(this);
169169
switchSourceHeader.activate(this);

0 commit comments

Comments
 (0)