Skip to content

Instantly share code, notes, and snippets.

@flyx
Created October 3, 2012 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flyx/3826404 to your computer and use it in GitHub Desktop.
Save flyx/3826404 to your computer and use it in GitHub Desktop.
problems with Ada syntax highlighting and indentation handling
with Ada.Finalization; -- package import
generic -- indent++
Foo : Integer;
package Bar is -- indend--; indent++
package Child is -- indend++
type T is new Ada.Finalization.Controlled
with null record; -- NO package import
end Child; -- indend--
generic -- indend++
F : Float;
procedure P1; -- indend--
procedure P1 is -- indent++
I : Integer;
begin -- indent--; indent++
I := 1;
begin -- indent++
declare -- indent++
J : Integer;
begin -- indent--; indent++
I := J;
end; -- indent--
end; -- indend--
end P1;
end Bar;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment