snippets: add snippet for running session commits

Co-Authored-by: iGor milhit <igor@milhit.ch>
main
iGor milhit 2024-01-16 16:19:50 +01:00
parent 03b0239539
commit 0dcc705e89
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 23 additions and 6 deletions

View File

@ -10,6 +10,7 @@ local get_date = function()
end
return {
-- Commit messages related to the workplace
s(
{
trig = "hr",
@ -20,6 +21,17 @@ return {
t("organisation: enregistre les heures")
}
),
s(
{
trig = "aou",
name = "AoU stats commit message",
dscr = "Commit message for an increment of AoU validation statistics."
},
{
t("r+e: incrémente les stats de validation de l'AoU")
}
),
-- Commit messages related to my private life
s(
{
trig = "ic",
@ -37,12 +49,17 @@ return {
),
s(
{
trig = "aou",
name = "AoU stats commit message",
dscr = "Commit message for an increment of AoU validation statistics."
trig = "cp",
name = "Running session commit message",
dscr = "Insert a commit message for running sessions commits."
},
{
t("r+e: incrémente les stats de validation de l'AoU")
}
fmt(
[[
course à pied: documente la séance du {1}
]],
{
f(get_date, {})
}
)
)
}