Skip to content

Commit e096d0e

Browse files
committed
Use g:snip_author in LICENCE snips
1 parent 97f7941 commit e096d0e

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

snippets/_.snippets

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ snippet lorem
1515
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1616
snippet GPL2
1717
${1:One line to give the program's name and a brief description.}
18-
Copyright (C) `strftime("%Y")` ${2:copyright holder}
18+
Copyright (C) `strftime("%Y")` ${2:`g:snips_author`}
1919

2020
This program is free software; you can redistribute it and/or modify
2121
it under the terms of the GNU General Public License as published by
@@ -33,7 +33,7 @@ snippet GPL2
3333
${0}
3434
snippet LGPL2
3535
${1:One line to give the program's name and a brief description.}
36-
Copyright (C) `strftime("%Y")` ${2:copyright holder}
36+
Copyright (C) `strftime("%Y")` ${2:`g:snips_author`}
3737

3838
This library is free software; you can redistribute it and/or modify
3939
it under the terms of the GNU Lesser General Public License as published
@@ -51,7 +51,7 @@ snippet LGPL2
5151
${0}
5252
snippet GPL3
5353
${1:one line to give the program's name and a brief description.}
54-
Copyright (C) `strftime("%Y")` ${2:copyright holder}
54+
Copyright (C) `strftime("%Y")` ${2:`g:snips_author`}
5555

5656
This program is free software: you can redistribute it and/or modify
5757
it under the terms of the GNU General Public License as published by
@@ -69,7 +69,7 @@ snippet GPL3
6969
${0}
7070
snippet LGPL3
7171
${1:One line to give the program's name and a brief description.}
72-
Copyright (C) `strftime("%Y")` ${2:copyright holder}
72+
Copyright (C) `strftime("%Y")` ${2:`g:snips_author`}
7373

7474
This library is free software; you can redistribute it and/or modify
7575
it under the terms of the GNU Lesser General Public License as published
@@ -87,7 +87,7 @@ snippet LGPL3
8787
${0}
8888
snippet AGPL3
8989
${1:one line to give the program's name and a brief description.}
90-
Copyright (C) `strftime("%Y")` ${2:copyright holder}
90+
Copyright (C) `strftime("%Y")` ${2:`g:snips_author`}
9191

9292
This program is free software: you can redistribute it and/or modify
9393
it under the terms of the GNU Affero General Public License as
@@ -105,7 +105,7 @@ snippet AGPL3
105105
${0}
106106
snippet BSD2
107107
${1:one line to give the program's name and a brief description}
108-
Copyright (C) `strftime("%Y")` ${2:copyright holder}
108+
Copyright (C) `strftime("%Y")` ${2:`g:snips_author`}
109109
All rights reserved.
110110

111111
Redistribution and use in source and binary forms, with or without
@@ -135,7 +135,7 @@ snippet BSD2
135135
${0}
136136
snippet BSD3
137137
${1:one line to give the program's name and a brief description}
138-
Copyright (C) `strftime("%Y")` ${2:copyright holder}
138+
Copyright (C) `strftime("%Y")` ${2:`g:snips_author`}
139139
All rights reserved.
140140

141141
Redistribution and use in source and binary forms, with or without
@@ -163,7 +163,7 @@ snippet BSD3
163163
${0}
164164
snippet BSD4
165165
${1:one line to give the program's name and a brief description}
166-
Copyright (C) `strftime("%Y")` ${2:copyright holder}
166+
Copyright (C) `strftime("%Y")` ${2:`g:snips_author`}
167167
All rights reserved.
168168

169169
Redistribution and use in source and binary forms, with or without
@@ -194,7 +194,7 @@ snippet BSD4
194194
${0}
195195
snippet MIT
196196
${1:one line to give the program's name and a brief description}
197-
Copyright (C) `strftime("%Y")` ${2:copyright holder}
197+
Copyright (C) `strftime("%Y")` ${2:`g:snips_author`}
198198

199199
Permission is hereby granted, free of charge, to any person obtaining
200200
a copy of this software and associated documentation files (the "Software"),
@@ -217,7 +217,7 @@ snippet MIT
217217
${0}
218218
snippet APACHE
219219
${1:one line to give the program's name and a brief description}
220-
Copyright `strftime("%Y")` ${2:copyright holder}
220+
Copyright `strftime("%Y")` ${2:`g:snips_author`}
221221

222222
Licensed under the Apache License, Version 2.0 (the "License");
223223
you may not use this file except in compliance with the License.
@@ -233,21 +233,20 @@ snippet APACHE
233233

234234
${0}
235235
snippet BEERWARE
236-
${2:one line to give the program's name and a brief description}
237-
Copyright `strftime("%Y")` ${3:copyright holder}
236+
${1:one line to give the program's name and a brief description}
237+
Copyright `strftime("%Y")` ${2:`g:snips_author`}
238238

239239
Licensed under the "THE BEER-WARE LICENSE" (Revision 42):
240-
${1:`g:snips_author`} wrote this file. As long as you retain this notice you
240+
$2 wrote this file. As long as you retain this notice you
241241
can do whatever you want with this stuff. If we meet some day, and you think
242242
this stuff is worth it, you can buy me a beer or coffee in return
243243

244244
${0}
245-
246245
snippet WTFPL
247246
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
248247
Version 2, December 2004
249248

250-
Copyright `strftime("%Y")` ${0:copyright holder}
249+
Copyright `strftime("%Y")` ${0:`g:snips_author`}
251250

252251
Everyone is permitted to copy and distribute verbatim or modified
253252
copies of this license document, and changing it is allowed as long
@@ -257,9 +256,11 @@ snippet WTFPL
257256
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
258257

259258
0. You just DO WHAT THE FUCK YOU WANT TO.
259+
260+
${0}
260261
snippet MPL2
261-
${2:one line to give the program's name and a brief description}
262-
Copyright `strftime("%Y")` ${3:`g:snips_author`}
262+
${1:one line to give the program's name and a brief description}
263+
Copyright `strftime("%Y")` ${2:`g:snips_author`}
263264

264265
This Source Code Form is subject to the terms of the Mozilla Public
265266
License, v. 2.0. If a copy of the MPL was not distributed with this

0 commit comments

Comments
 (0)