Skip to content

(Ada) Minimal support for Ada 2022 #4224

@reznikmm

Description

@reznikmm

Describe the issue
Ada 2022 introduces square brackets,@ and new parallel keyword. It would be nice to highlight them properly.

Which language seems to have the issue?
Ada 2022 standard

Are you using highlight or highlightAuto?
No idea. I use gitlab.

Sample Code to Reproduce

   X : Array_Type := [1, 2];

begin
   parallel
   for I in Grid'Range(1) loop
      Grid(I, 1) := 1;
   end loop;

Expected behavior

  • parallel should be highlighted
  • [ and ] should not be considered as invalid characters

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions