Skip to content

Commit

Permalink
emacs: Add snippets for conventional commits
Browse files Browse the repository at this point in the history
  • Loading branch information
tlater-famedly committed Aug 20, 2024
1 parent b5b5fc1 commit a0746ef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a0746ef

Please sign in to comment.