Skip to content

Commit 6ef5ba0

Browse files
committed
Move subprogram declaration into the body.
1 parent f56205c commit 6ef5ba0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/ada/lsp-ada_documentation.adb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ package body LSP.Ada_Documentation is
5757
-- Append given Item to the last line of the vector. Append new line when
5858
-- vector is empty.
5959

60+
function Get_Hover_Text
61+
(Decl : Libadalang.Analysis.Basic_Decl'Class)
62+
return VSS.Strings.Virtual_String;
63+
-- Return a pretty printed version of the declaration's text to be
64+
-- displayed on hover requests, removing unnecessary indentation
65+
-- whitespaces if needed and attaching extra information in some cases.
66+
6067
-------------------------
6168
-- Append_To_Last_Line --
6269
-------------------------

source/ada/lsp-ada_documentation.ads

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,4 @@ package LSP.Ada_Documentation is
4242
-- Decl_Text contains the code corresponding to the declaration, formatted
4343
-- by GNATdoc when possible.
4444

45-
function Get_Hover_Text
46-
(Decl : Libadalang.Analysis.Basic_Decl'Class)
47-
return VSS.Strings.Virtual_String;
48-
-- Return a pretty printed version of the declaration's text to be
49-
-- displayed on hover requests, removing unnecessary indentation
50-
-- whitespaces if needed and attaching extra information in some cases.
51-
5245
end LSP.Ada_Documentation;

0 commit comments

Comments
 (0)