File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ package body LSP.Ada_Highlighters is
28
28
Highlighter_Debug : constant GNATCOLL.Traces.Trace_Handle :=
29
29
GNATCOLL.Traces.Create (" ALS.HIGHLIGHTERS.DEBUG" , GNATCOLL.Traces.Off);
30
30
31
- Skip : LSP.Enumerations.SemanticTokenTypes renames LSP.Enumerations.macro;
31
+ Skip : LSP.Enumerations.SemanticTokenTypes renames
32
+ LSP.Enumerations.decorator;
32
33
-- A dedicated token type for unsupported tokens
33
34
34
35
function Is_Ghost_Root_Node
@@ -717,6 +718,8 @@ package body LSP.Ada_Highlighters is
717
718
return a_function;
718
719
when Ada_Named_Stmt_Decl =>
719
720
return namespace;
721
+ when Ada_Label_Decl =>
722
+ return namespace;
720
723
when Ada_Number_Decl =>
721
724
return number;
722
725
when Ada_Package_Renaming_Decl =>
@@ -725,6 +728,14 @@ package body LSP.Ada_Highlighters is
725
728
return variable;
726
729
when Ada_Single_Task_Decl =>
727
730
return variable;
731
+ when Ada_Extended_Return_Stmt_Object_Decl =>
732
+ return variable;
733
+ when Ada_Abstract_State_Decl
734
+ | Ada_Paren_Abstract_State_Decl
735
+ | Ada_Multi_Abstract_State_Decl =>
736
+ return macro;
737
+ when Ada_No_Type_Object_Renaming_Decl =>
738
+ return variable;
728
739
when others =>
729
740
return Skip;
730
741
end case ;
You can’t perform that action at this time.
0 commit comments