remove duplicate license snippets
This commit is contained in:
parent
2ce8ef4ddd
commit
058bde6434
@ -11,10 +11,6 @@ def ada_case(word):
|
|||||||
out = out + word[i]
|
out = out + word[i]
|
||||||
return out
|
return out
|
||||||
|
|
||||||
def get_year():
|
|
||||||
import time
|
|
||||||
return time.strftime("%Y")
|
|
||||||
|
|
||||||
endglobal
|
endglobal
|
||||||
|
|
||||||
snippet wi "with"
|
snippet wi "with"
|
||||||
@ -281,44 +277,4 @@ snippet newline "Ada.Text_IO.New_Line"
|
|||||||
Ada.Text_IO.New_Line(${1:1});$0
|
Ada.Text_IO.New_Line(${1:1});$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet gpl "GPL license header"
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
|
||||||
-- it under the terms of the GNU ${1}General Public License as published by
|
|
||||||
-- the Free Software Foundation; either version ${2:3} of the License, or
|
|
||||||
-- (at your option) any later version.
|
|
||||||
--
|
|
||||||
-- This program is distributed in the hope that it will be useful,
|
|
||||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
-- GNU $1General Public License for more details.
|
|
||||||
--
|
|
||||||
-- You should have received a copy of the GNU $1General Public License
|
|
||||||
-- along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
--
|
|
||||||
-- Copyright (C) ${3:Author}, ${4:`!p snip.rv = get_year()`}
|
|
||||||
|
|
||||||
$0
|
|
||||||
endsnippet
|
|
||||||
|
|
||||||
snippet gplf "GPL file license header"
|
|
||||||
-- This file is part of ${1:Program-Name}.
|
|
||||||
--
|
|
||||||
-- $1 is free software: you can redistribute it and/or modify
|
|
||||||
-- it under the terms of the GNU ${2}General Public License as published by
|
|
||||||
-- the Free Software Foundation, either version ${3:3} of the License, or
|
|
||||||
-- (at your option) any later version.
|
|
||||||
--
|
|
||||||
-- $1 is distributed in the hope that it will be useful,
|
|
||||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
-- GNU $2General Public License for more details.
|
|
||||||
--
|
|
||||||
-- You should have received a copy of the GNU $2General Public License
|
|
||||||
-- along with $1. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
--
|
|
||||||
-- Copyright (C) ${4:Author}, ${5:`!p snip.rv = get_year()`}
|
|
||||||
|
|
||||||
$0
|
|
||||||
endsnippet
|
|
||||||
|
|
||||||
# vim:ft=snippets:
|
# vim:ft=snippets:
|
||||||
|
@ -215,41 +215,3 @@ snippet getl Ada.Text_IO.Get_Line
|
|||||||
snippet newline Ada.Text_IO.New_Line
|
snippet newline Ada.Text_IO.New_Line
|
||||||
Ada.Text_IO.New_Line(${1:1});${0}
|
Ada.Text_IO.New_Line(${1:1});${0}
|
||||||
|
|
||||||
snippet gpl GPL license header
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
|
||||||
-- it under the terms of the GNU ${1}General Public License as published by
|
|
||||||
-- the Free Software Foundation; either version ${2:3} of the License, or
|
|
||||||
-- (at your option) any later version.
|
|
||||||
--
|
|
||||||
-- This program is distributed in the hope that it will be useful,
|
|
||||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
-- GNU $1General Public License for more details.
|
|
||||||
--
|
|
||||||
-- You should have received a copy of the GNU $1General Public License
|
|
||||||
-- along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
--
|
|
||||||
-- Copyright (C) ${3:Author}, ${4:`strftime("%Y")`}
|
|
||||||
|
|
||||||
${0}
|
|
||||||
|
|
||||||
snippet gplf GPL file license header
|
|
||||||
-- This file is part of ${1:Program-Name}.
|
|
||||||
--
|
|
||||||
-- $1 is free software: you can redistribute it and/or modify
|
|
||||||
-- it under the terms of the GNU ${2}General Public License as published by
|
|
||||||
-- the Free Software Foundation, either version ${3:3} of the License, or
|
|
||||||
-- (at your option) any later version.
|
|
||||||
--
|
|
||||||
-- $1 is distributed in the hope that it will be useful,
|
|
||||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
-- GNU $2General Public License for more details.
|
|
||||||
--
|
|
||||||
-- You should have received a copy of the GNU $2General Public License
|
|
||||||
-- along with $1. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
--
|
|
||||||
-- Copyright (C) ${4:Author}, ${5:`strftime("%Y")`}
|
|
||||||
|
|
||||||
${0}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user