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 e34861e + a935247 commit 5efee6eCopy full SHA for 5efee6e
source/ada/lsp-ada_completions.adb
@@ -397,15 +397,14 @@ package body LSP.Ada_Completions is
397
Filename => "",
398
Buffer => Full,
399
Rule => Rule);
400
- Pp.Actions.Set_Partial_GNATPP_Offset (Offset);
401
Pp.Actions.Format_Vector
402
- (Cmd => Cmd,
403
- Input => Input,
404
- Node => Root (Tmp_Unit),
405
- Output => Output,
406
- Messages => PP_Messages,
407
- Partial_GNATPP => True);
408
- Pp.Actions.Set_Partial_GNATPP_Offset (0);
+ (Cmd => Cmd,
+ Input => Input,
+ Node => Root (Tmp_Unit),
+ Output => Output,
+ Messages => PP_Messages,
+ Initial_Indentation => Offset,
+ Partial_GNATPP => True);
409
exception
410
when E : others =>
411
-- Failed to pretty print the snippet, keep the previous
0 commit comments