From 058bde6434a5d18ee97ac0dbb46916a19150aa54 Mon Sep 17 00:00:00 2001 From: m-pilia Date: Sat, 17 Jan 2015 17:10:08 +0100 Subject: [PATCH] remove duplicate license snippets --- UltiSnips/ada.snippets | 44 ------------------------------------------ snippets/ada.snippets | 38 ------------------------------------ 2 files changed, 82 deletions(-) diff --git a/UltiSnips/ada.snippets b/UltiSnips/ada.snippets index d33c777..cc35c2c 100644 --- a/UltiSnips/ada.snippets +++ b/UltiSnips/ada.snippets @@ -11,10 +11,6 @@ def ada_case(word): out = out + word[i] return out -def get_year(): - import time - return time.strftime("%Y") - endglobal snippet wi "with" @@ -281,44 +277,4 @@ snippet newline "Ada.Text_IO.New_Line" Ada.Text_IO.New_Line(${1:1});$0 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 . --- --- 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 . --- --- Copyright (C) ${4:Author}, ${5:`!p snip.rv = get_year()`} - -$0 -endsnippet - # vim:ft=snippets: diff --git a/snippets/ada.snippets b/snippets/ada.snippets index ce377b9..1039946 100644 --- a/snippets/ada.snippets +++ b/snippets/ada.snippets @@ -215,41 +215,3 @@ snippet getl Ada.Text_IO.Get_Line snippet newline Ada.Text_IO.New_Line 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 . - -- - -- 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 . - -- - -- Copyright (C) ${4:Author}, ${5:`strftime("%Y")`} - - ${0} -