Skip to content

Commit 98e7437

Browse files
author
Andrew Hall
authored
If SupportDiagnostics is false then dynamic files don't report diagnostics... (#11807)
Fixes devdiv.visualstudio.com/DevDiv/_workitems/edit/2459248
1 parent cf5da2d commit 98e7437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Razor/src/Microsoft.VisualStudioCode.RazorExtension/Services/LspDocumentServiceProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ internal sealed class LspDocumentServiceProvider(IRazorClientLanguageServerManag
1010
{
1111
public bool CanApplyChange => true;
1212

13-
public bool SupportDiagnostics => false;
13+
public bool SupportDiagnostics => true;
1414

1515
private IRazorMappingService? _mappingService;
1616

0 commit comments

Comments
 (0)