This commit is contained in:
2024-04-30 07:08:23 +02:00
commit a711247971
2043 changed files with 16874 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: case statement
# key: case
# --
case $1 is
when $3 => $4
when others => $2;
end case;$0

View File

@@ -0,0 +1,14 @@
# -*- mode: snippet -*-
# name: function declaration
# key: function
# --
-- @name $1
-- @return $3
-- @param $2
-- @description $5
function ${1:Name}($2) return ${3:Integer} is
$4
begin
$7
return ${6:$3};
end $1;$0

View File

@@ -0,0 +1,10 @@
# -*- mode: ada -*-
# name: procedure
# key: proc
# --
procedure $1 is
$2
begin
$3
end $1;
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: with
# key: with
# --
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;