From fe3502abfc766839006d8e265380b651b1504875 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 15 Dec 2022 21:13:34 +0100 Subject: vim: add coauthor snippet to gitcommit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .vim/snippets/gitcommit.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.vim/snippets/gitcommit.lua') diff --git a/.vim/snippets/gitcommit.lua b/.vim/snippets/gitcommit.lua index fd96216..c6153a3 100644 --- a/.vim/snippets/gitcommit.lua +++ b/.vim/snippets/gitcommit.lua @@ -1,4 +1,5 @@ return { s('sign' , fmt([[Signed-off-by: {}]], {sn(1, user_email)})), - s('change', fmt([[Change-type: {}]], {c(1, {t('patch'), t('minor'), t('major')}) })), + s('change', fmt([[Change-type: {}]], {c(1, {t('patch'), t('minor'), t('major')})})), + s('coauth', fmt([[Co-authored-by: {}]], {i(1)})), } -- cgit 1.4.1