Skip to content

Commit 313bb7e

Browse files
author
automatic-merge
committed
Merge remote branch 'origin/master' into edge
2 parents f31c59a + 9f0a08c commit 313bb7e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

source/ada/lsp-ada_handlers.adb

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3696,13 +3696,11 @@ package body LSP.Ada_Handlers is
36963696
Changed : Boolean := False;
36973697
Diag : LSP.Structures.PublishDiagnosticsParams;
36983698
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;
3699+
Document.Get_Errors
3700+
(Context => Self.Contexts.Get_Best_Context (Document.URI).all,
3701+
Changed => Changed,
3702+
Errors => Diag.diagnostics,
3703+
Force => Force);
37063704

37073705
if Force or else Changed or else not Other_Diagnostics.Is_Empty then
37083706
Diag.uri := Document.URI;

0 commit comments

Comments
 (0)