diff --git a/data/snippets/licenses.snippets b/data/snippets/licenses.snippets index bce24bae175eff06c2b68da493548503e468b1fc..812a237da51ff3a9fccc9173cc77490ed862925b 100644 --- a/data/snippets/licenses.snippets +++ b/data/snippets/licenses.snippets @@ -2,7 +2,7 @@ snippet gpl - scope c, chdr, cpp, css, js, vala /* ${1:$filename} * - * Copyright © $year ${2:$fullname} <${3:$email}> + * Copyright $year ${2:$fullname} <${3:$email}> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,12 +16,14 @@ snippet gpl * * You should have received a copy of the GNU General Public License * along with this program. If not, see . + * + * SPDX-License-Identifier: GPL-3.0-or-later */ $0 - scope python, python3 # ${1:$filename} # - # Copyright © $year ${2:$fullname} <${3:$email}> + # Copyright $year ${2:$fullname} <${3:$email}> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -35,12 +37,14 @@ snippet gpl # # You should have received a copy of the GNU General Public License # along with this program. If not, see . + # + # SPDX-License-Identifier: GPL-3.0-or-later $0 - scope c-sharp, rust // // ${1:$filename} // - // Copyright © $year ${2:$fullname} <${3:$email}> + // Copyright $year ${2:$fullname} <${3:$email}> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -55,12 +59,13 @@ snippet gpl // You should have received a copy of the GNU General Public License // along with this program. If not, see . // + // SPDX-License-Identifier: GPL-3.0-or-later $0 snippet lgpl - scope c, chdr, cpp, css, js, vala /* ${1:$filename} * - * Copyright © $year ${2:$fullname} <${3:$email}> + * Copyright $year ${2:$fullname} <${3:$email}> * * This file is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as @@ -72,14 +77,16 @@ snippet lgpl * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * You should have received a copy of the GNU Lesser General Public + * License along with this program. If not, see . + * + * SPDX-License-Identifier: LGPL-3.0-or-later */ $0 - scope python, python3 # ${1:$filename} # - # Copyright © $year ${2:$fullname} <${3:$email}> + # Copyright $year ${2:$fullname} <${3:$email}> # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as @@ -91,14 +98,16 @@ snippet lgpl # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # - # You should have received a copy of the GNU General Public License - # along with this program. If not, see . + # You should have received a copy of the GNU Lesser General Public + # License along with this program. If not, see . + # + # SPDX-License-Identifier: LGPL-3.0-or-later $0 - scope c-sharp, rust // // ${1:$filename} // - // Copyright © $year ${2:$fullname} <${3:$email}> + // Copyright $year ${2:$fullname} <${3:$email}> // // This file is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as @@ -110,7 +119,87 @@ snippet lgpl // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // - // You should have received a copy of the GNU General Public License - // along with this program. If not, see . + // You should have received a copy of the GNU Lesser General Public + // License along with this program. If not, see . // + // SPDX-License-Identifier: LGPL-3.0-or-later + $0 +snippet mit +- scope c, chdr, cpp, css, js, vala + /* ${1:$filename} + * + * Copyright $year ${2:$fullname} <${3:$email}> + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * SPDX-License-Identifier: MIT + */ + $0 +- scope c-sharp, rust + // + // ${1:$filename} + // + // Copyright $year ${2:$fullname} <${3:$email}> + // + // Permission is hereby granted, free of charge, to any person obtaining a copy + // of this software and associated documentation files (the "Software"), to + // deal in the Software without restriction, including without limitation the + // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + // sell copies of the Software, and to permit persons to whom the Software is + // furnished to do so, subject to the following conditions: + // + // The above copyright notice and this permission notice shall be included in + // all copies or substantial portions of the Software. + // + // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + // IN THE SOFTWARE. + // + // SPDX-License-Identifier: MIT + $0 +- scope python, python3 + # + # ${1:$filename} + # + # Copyright $year ${2:$fullname} <${3:$email}> + # + # Permission is hereby granted, free of charge, to any person obtaining a copy + # of this software and associated documentation files (the "Software"), to + # deal in the Software without restriction, including without limitation the + # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + # sell copies of the Software, and to permit persons to whom the Software is + # furnished to do so, subject to the following conditions: + # + # The above copyright notice and this permission notice shall be included in + # all copies or substantial portions of the Software. + # + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + # IN THE SOFTWARE. + # + # SPDX-License-Identifier: MIT $0