File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ package body LSP.Ada_Handlers is
102102 -- Convenient constants
103103
104104 Line_Feed : constant Character := Ada.Characters.Latin_1.LF;
105+ Backspace : constant Character := Ada.Characters.Latin_1.BS;
105106
106107 function "+" (Text : Ada.Strings.UTF_Encoding.UTF_8_String)
107108 return LSP.Types.LSP_String renames
@@ -697,7 +698,7 @@ package body LSP.Ada_Handlers is
697698 Response.result.capabilities.signatureHelpProvider :=
698699 (True,
699700 (triggerCharacters => (True, Empty_Vector & (+" ," ) & (+" (" )),
700- retriggerCharacters => (True, Empty_Vector & (+(1 => ASCII.BS ))),
701+ retriggerCharacters => (True, Empty_Vector & (+(1 => Backspace ))),
701702 workDoneProgress => LSP.Types.None));
702703 Response.result.capabilities.completionProvider :=
703704 (True,
@@ -2665,7 +2666,7 @@ package body LSP.Ada_Handlers is
26652666 -- Check if the trigger character is a backspace
26662667 ((not Value.context.Value.triggerCharacter.Is_Set)
26672668 or else Value.context.Value.triggerCharacter.Value /=
2668- (+(1 => ASCII.BS ))))
2669+ (+(1 => Backspace ))))
26692670 then
26702671 -- At this point, we are filtering the previous signatures:
26712672 -- * Don't recompute the list of signature
You can’t perform that action at this time.
0 commit comments