From f1090d69e643494d4223483d51e42cfda518097c Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 1 May 2021 15:02:49 +0100 Subject: [PATCH] vim/snippets: update fpp copyright with automated year --- vim/ultisnips/all.snippets | 10 ++++++++++ vim/ultisnips/cmake.snippets | 8 ++++++++ vim/ultisnips/cpp.snippets | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/vim/ultisnips/all.snippets b/vim/ultisnips/all.snippets index 6c1fab6..1d306ad 100644 --- a/vim/ultisnips/all.snippets +++ b/vim/ultisnips/all.snippets @@ -405,3 +405,13 @@ snippet AGPL "AGPL License" b `!p snip.rv = i + m` along with this program. If not, see . `!p snip.rv = i + e` endsnippet + +snippet FPP "FPP Copyright" b +`!p snip.rv = b` +`!p snip.rv = i + m` Copyright © Focal Point Positioning Limited `!v strftime("%Y")`. All Rights Reserved. +`!p snip.rv = i + m` This code is the copyright of Focal Point Positioning Limited and +`!p snip.rv = i + m` cannot be used, copied or distributed without the express written +`!p snip.rv = i + m` permission of Focal Point Positioning Limited. +`!p snip.rv = i + e` +${0} +endsnippet diff --git a/vim/ultisnips/cmake.snippets b/vim/ultisnips/cmake.snippets index 1983d60..44fe3e0 100644 --- a/vim/ultisnips/cmake.snippets +++ b/vim/ultisnips/cmake.snippets @@ -97,3 +97,11 @@ set(CMAKE_DEBUG_TARGET_PROPERTIES POSITION_INDEPENDENT_CODE ) endsnippet + +snippet FPP "FPP Copyright" b +# Copyright © Focal Point Positioning Limited `!v strftime("%Y")`. All Rights Reserved. +# This code is the copyright of Focal Point Positioning Limited and +# cannot be used, copied or distributed without the express written +# permission of Focal Point Positioning Limited. +${0} +endsnippet diff --git a/vim/ultisnips/cpp.snippets b/vim/ultisnips/cpp.snippets index 5ffbe51..8b24ec2 100644 --- a/vim/ultisnips/cpp.snippets +++ b/vim/ultisnips/cpp.snippets @@ -163,7 +163,7 @@ ${VISUAL}${0} endsnippet snippet FPP "FPP Copyright" b -// Copyright © Focal Point Positioning Limited 2020. All Rights Reserved. +// Copyright © Focal Point Positioning Limited `!v strftime("%Y")`. All Rights Reserved. // This code is the copyright of Focal Point Positioning Limited and // cannot be used, copied or distributed without the express written // permission of Focal Point Positioning Limited. -- 2.48.1