fix(file-templates): indentation for licenses

And remove superfluous tabstops in gpl3 license.
This commit is contained in:
Henrik Lissner 2022-08-04 21:42:59 +02:00
parent 293b3f9be5
commit ba668f7cb0
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
11 changed files with 13 additions and 1 deletions

View file

@ -3,6 +3,7 @@
# uuid: __license-apache
# group: Licenses
# contributor: https://choosealicense.com/licenses/apache-2.0/
# expand-env: ((yas-indent-line 'fixed))
# --
Apache License
Version 2.0, January 2004

View file

@ -3,6 +3,7 @@
# uuid: __license-apache-bp
# group: Licenses
# contributor: https://choosealicense.com/licenses/apache-2.0/
# expand-env: ((yas-indent-line 'fixed))
# --
Copyright ${1:`(format-time-string "%Y")` `user-full-name`}

View file

@ -2,6 +2,7 @@
# name: 2-clause BSD License
# uuid: __license-bsd2
# group: Licenses
# expand-env: ((yas-indent-line 'fixed))
# --
Copyright (c) ${1:`(format-time-string "%Y")`} ${2:`user-full-name`}
All rights reserved.

View file

@ -1,6 +1,8 @@
# -*- mode: snippet -*-
# name: 3-clause BSD License
# uuid: __license-bsd3
# group: Licenses
# expand-env: ((yas-indent-line 'fixed))
# --
Copyright (c) ${1:`(format-time-string "%Y")`} ${2:`user-full-name`}
All rights reserved.

View file

@ -3,6 +3,7 @@
# uuid: __license-gpl3
# group: Licenses
# contributor: https://choosealicense.com/licenses/gpl-3.0/
# expand-env: ((yas-indent-line 'fixed))
# --
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
@ -658,7 +659,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
${3:<program>} Copyright (C) ${1:`(format-time-string "%Y")`} ${2:`user-full-name`}
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type \`show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type \`show c' for details.

View file

@ -3,6 +3,7 @@
# uuid: __license-gpl3-bp
# group: Licenses
# contributor: https://choosealicense.com/licenses/lgpl-3.0
# expand-env: ((yas-indent-line 'fixed))
# --
${1:<program name and description>}
Copyright (C) ${2:`(format-time-string "%Y")`} ${3:`user-full-name`}

View file

@ -3,6 +3,7 @@
# uuid: __license-lgpl3
# group: Licenses
# contribuer: https://choosealicense.com/licenses/lgpl-3.0/
# expand-env: ((yas-indent-line 'fixed))
# --
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

View file

@ -3,6 +3,7 @@
# uuid: __license-mit
# group: Licenses
# contributor: https://choosealicense.com/licenses/mit/
# expand-env: ((yas-indent-line 'fixed))
# --
The MIT License (MIT)

View file

@ -3,6 +3,7 @@
# uuid: __license-mozilla
# group: Licenses
# contributor: https://choosealicense.com/licenses/mpl-2.0
# expand-env: ((yas-indent-line 'fixed))
# --
Mozilla Public License Version 2.0
==================================

View file

@ -3,6 +3,7 @@
# uuid: __license-mozilla-bp
# group: Licenses
# contributor: https://choosealicense.com/licenses/mpl-2.0
# expand-env: ((yas-indent-line 'fixed))
# --
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this

View file

@ -3,6 +3,7 @@
# uuid: __license-unlicense
# group: Licenses
# contributor: https://choosealicense.com/licenses/unlicense
# expand-env: ((yas-indent-line 'fixed))
# --
This is free and unencumbered software released into the public domain.