We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f31c59a + 9f0a08c commit 313bb7eCopy full SHA for 313bb7e
source/ada/lsp-ada_handlers.adb
@@ -3696,13 +3696,11 @@ package body LSP.Ada_Handlers is
3696
Changed : Boolean := False;
3697
Diag : LSP.Structures.PublishDiagnosticsParams;
3698
begin
3699
- if Self.Configuration.Ada_File_Diagnostics_Enabled then
3700
- Document.Get_Errors
3701
- (Context => Self.Contexts.Get_Best_Context (Document.URI).all,
3702
- Changed => Changed,
3703
- Errors => Diag.diagnostics,
3704
- Force => Force);
3705
- end if;
+ Document.Get_Errors
+ (Context => Self.Contexts.Get_Best_Context (Document.URI).all,
+ Changed => Changed,
+ Errors => Diag.diagnostics,
+ Force => Force);
3706
3707
if Force or else Changed or else not Other_Diagnostics.Is_Empty then
3708
Diag.uri := Document.URI;
0 commit comments