Skip to content

Commit

Permalink
Merged PR 467208: Set SupportsDelegatedDiagnostics On RazorLanguageSe…
Browse files Browse the repository at this point in the history
…rverClient

Follow up for: dotnet/razor#8622
Set SupportsDelegatedDiagnostics On RazorLanguageServerClient so that C# diagnostic requests only come in on new C# extension.
  • Loading branch information
lonitra committed Apr 24, 2023
1 parent 5e501dc commit 927548b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/razor/src/RazorLanguageServerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ export class RazorLanguageServerClient implements vscode.Disposable {

args.push('--projectConfigurationFileName');
args.push('project.razor.vscode.json');
args.push('--SupportsDelegatedDiagnostics');
args.push('true');

if (options.debug) {
this.telemetryReporter.reportDebugLanguageServer();
Expand Down

0 comments on commit 927548b

Please sign in to comment.