From 7e5ae4746fa464bd736dd37e8b224099134e13ba Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Mon, 26 Aug 2024 17:55:01 -0500 Subject: [PATCH] chore: add copyright snippet for shebang comments Signed-off-by: Tristan Partin --- .vscode/copyright.code-snippets | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.vscode/copyright.code-snippets b/.vscode/copyright.code-snippets index 9aa0e51..df6be23 100644 --- a/.vscode/copyright.code-snippets +++ b/.vscode/copyright.code-snippets @@ -25,5 +25,17 @@ "", "$4" ] + }, + "copyright-shebang": { + "prefix": "copyright", + "description": "Create the copyright header", + "scope": "yaml", + "body": [ + "# SPDX-License-Identifier: AGPL-3.0-or-later", + "#", + "# SPDX-FileCopyrightText: ${1:year} ${2:name} <${3:email}>", + "", + "$4" + ] } }