Skip to content

Commit 82ccf07

Browse files
author
Keen Yee Liau
committed
Revert "fix: Retrieve diagnostics for changed document only"
This reverts commit 0f70744.
1 parent 6361082 commit 82ccf07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export class Session {
220220
if (!project || !project.languageServiceEnabled) {
221221
return;
222222
}
223-
this.triggerDiagnostics([scriptInfo.fileName]);
223+
project.refreshDiagnostics();
224224
}
225225

226226
private onDidSaveTextDocument(params: lsp.DidSaveTextDocumentParams) {

0 commit comments

Comments
 (0)