From 081615895515d877c035b6056cb4bf852a450138 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sun, 5 Oct 2025 14:02:28 +0545 Subject: [PATCH] feat(snippets): add license snippet for all languages --- snippets/gitcommit.json | 96 ----------------------------------------- snippets/global.json | 2 +- snippets/package.json | 14 +++--- 3 files changed, 7 insertions(+), 105 deletions(-) delete mode 100644 snippets/gitcommit.json diff --git a/snippets/gitcommit.json b/snippets/gitcommit.json deleted file mode 100644 index e049f8d..0000000 --- a/snippets/gitcommit.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "conventional commit": { - "prefix": "cc", - "body": [ - "${1:type}(${2:scope}): ${3:title}", - "", - "$0" - ] - }, - "fix conventional commit": { - "prefix": "fix", - "body": [ - "fix(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "feat conventional commit": { - "prefix": "feat", - "body": [ - "feat(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "build conventional commit": { - "prefix": "build", - "body": [ - "build(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "chore conventional commit": { - "prefix": "chore", - "body": [ - "chore(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "ci conventional commit": { - "prefix": "ci", - "body": [ - "ci(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "docs conventional commit": { - "prefix": "docs", - "body": [ - "docs(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "style conventional commit": { - "prefix": "style", - "body": [ - "style(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "refactor conventional commit": { - "prefix": "refactor", - "body": [ - "refactor(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "perf conventional commit": { - "prefix": "perf", - "body": [ - "perf(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "test conventional commit": { - "prefix": "test", - "body": [ - "test(${1:scope}): ${2:title}", - "", - "$0" - ] - }, - "breaking change conventional commit footer": { - "prefix": "BREAK", - "body": [ - "BREAKING CHANGE: $0" - ] - } -} diff --git a/snippets/global.json b/snippets/global.json index 2361b82..1931418 100644 --- a/snippets/global.json +++ b/snippets/global.json @@ -55,5 +55,5 @@ "prefix": "uuid", "body": "${UUID}", "description": "A Version 4 UUID" - }, + } } diff --git a/snippets/package.json b/snippets/package.json index 349cdba..72667ee 100644 --- a/snippets/package.json +++ b/snippets/package.json @@ -11,10 +11,15 @@ "markdown", "tex", "html", - "global" + "global", + "all" ], "path": "./global.json" }, + { + "language": "all", + "path": "./license.json" + }, { "language": "c", "path": "./c.json" @@ -23,13 +28,6 @@ "language": "cpp", "path": "./cpp.json" }, - { - "language": [ - "gitcommit", - "NeogitCommitMessage" - ], - "path": "./gitcommit.json" - }, { "language": "lua", "path": "./lua.json"