1
1
-- ----------------------------------------------------------------------------
2
2
-- Language Server Protocol --
3
3
-- --
4
- -- Copyright (C) 2018-2023 , AdaCore --
4
+ -- Copyright (C) 2018-2024 , AdaCore --
5
5
-- --
6
6
-- This is free software; you can redistribute it and/or modify it under --
7
7
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -25,16 +25,19 @@ with VSS.JSON.Pull_Readers.Simple;
25
25
with VSS.JSON.Streams ;
26
26
with VSS.Strings.Conversions ;
27
27
with VSS.Text_Streams.File_Input ;
28
+ with VSS.Transformers.Casing ;
28
29
29
30
package body LSP.Ada_Configurations is
30
31
31
32
Doc_Style_Values : constant VSS.String_Vectors.Virtual_String_Vector :=
32
33
[for Item in GNATdoc.Comments.Options.Documentation_Style =>
33
- VSS.Strings.To_Virtual_String (Item'Wide_Wide_Image).To_Lowercase];
34
+ VSS.Strings.To_Virtual_String (Item'Wide_Wide_Image).Transform
35
+ (VSS.Transformers.Casing.To_Lowercase)];
34
36
35
37
Display_Method_Values : constant VSS.String_Vectors.Virtual_String_Vector :=
36
38
[for Item in LSP.Enumerations.AlsDisplayMethodAncestryOnNavigationPolicy
37
- => VSS.Strings.To_Virtual_String (Item'Wide_Wide_Image).To_Lowercase];
39
+ => VSS.Strings.To_Virtual_String (Item'Wide_Wide_Image).Transform
40
+ (VSS.Transformers.Casing.To_Lowercase)];
38
41
39
42
function "+" (X : VSS.Strings.Virtual_String'Class) return String renames
40
43
VSS.Strings.Conversions.To_UTF_8_String;
0 commit comments