diff --git a/home-config/dotfiles/emacs.d/share/snippets/text-mode/git-conventional-commit b/home-config/dotfiles/emacs.d/share/snippets/text-mode/git-conventional-commit new file mode 100644 index 00000000..a9631443 --- /dev/null +++ b/home-config/dotfiles/emacs.d/share/snippets/text-mode/git-conventional-commit @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: git-conventional-commit +# key: c +# condition: (git-commit-mode) +# -- +${1:type$(yas-choose-value '( "feat" "fix" "test" "chore" "refactor" "doc" "style" "release" "update" "bump" "perf" "ci"))}${2:(scope)}: ${3:Commit message} + +$0 \ No newline at end of file diff --git a/home-config/dotfiles/emacs.d/share/snippets/text-mode/git-conventional-commit-breaking b/home-config/dotfiles/emacs.d/share/snippets/text-mode/git-conventional-commit-breaking new file mode 100644 index 00000000..da096ffb --- /dev/null +++ b/home-config/dotfiles/emacs.d/share/snippets/text-mode/git-conventional-commit-breaking @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: git-conventional-commit +# key: c! +# condition: (git-commit-mode) +# -- +${1:type$(yas-choose-value '( "feat" "fix" "test" "chore" "refactor" "doc" "style" "release" "update" "bump" "perf" "ci"))}${2:(scope)}!: ${3:Commit message} + +$0 \ No newline at end of file