Skip to content

Commit

Permalink
Merge branch 'dev/spebl/otfdocs' of https://github.com/Microsoft/vsco…
Browse files Browse the repository at this point in the history
…de-cpptools into dev/spebl/otfdocs
  • Loading branch information
spebl committed Oct 24, 2024
2 parents 1b37fd1 + 8707994 commit f8fc500
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 f8fc500

Please sign in to comment.