Skip to content

Commit

Permalink
Merge branch 'main' into dev/spebl/otfdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
spebl authored Oct 22, 2024
2 parents ba5f149 + e58e963 commit 8707994
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Extension/src/LanguageServer/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2419,7 +2419,9 @@ export class DefaultClient implements Client {
}

this.updateInactiveRegions(intelliSenseResult.uri, intelliSenseResult.inactiveRegions, intelliSenseResult.clearExistingInactiveRegions, intelliSenseResult.isCompletePass);
this.updateSquiggles(intelliSenseResult.uri, intelliSenseResult.diagnostics, intelliSenseResult.clearExistingDiagnostics);
if (intelliSenseResult.clearExistingDiagnostics || intelliSenseResult.diagnostics.length > 0) {
this.updateSquiggles(intelliSenseResult.uri, intelliSenseResult.diagnostics, intelliSenseResult.clearExistingDiagnostics);
}
}

private updateSquiggles(uriString: string, diagnostics: IntelliSenseDiagnostic[], startNewSet: boolean): void {
Expand Down

0 comments on commit 8707994

Please sign in to comment.