Add git-commit-mode to yas-extra-modes

Fixes snippets in git-commit-mode.
This commit is contained in:
Henrik Lissner 2018-08-01 19:26:20 +02:00
parent a876d87f5e
commit b7bbf4d7ed
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -17,6 +17,9 @@
;; `git-commit-mode' ;; `git-commit-mode'
(after! git-commit-mode
(set-yas-minor-mode! 'git-commit-mode))
(defun +vc|enforce-git-commit-conventions () (defun +vc|enforce-git-commit-conventions ()
"See https://chris.beams.io/posts/git-commit/" "See https://chris.beams.io/posts/git-commit/"
(setq fill-column 72 (setq fill-column 72