snippets: add snippet for running session commits
Co-Authored-by: iGor milhit <igor@milhit.ch>main
parent
03b0239539
commit
0dcc705e89
|
@ -10,6 +10,7 @@ local get_date = function()
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
-- Commit messages related to the workplace
|
||||||
s(
|
s(
|
||||||
{
|
{
|
||||||
trig = "hr",
|
trig = "hr",
|
||||||
|
@ -20,6 +21,17 @@ return {
|
||||||
t("organisation: enregistre les heures")
|
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(
|
s(
|
||||||
{
|
{
|
||||||
trig = "ic",
|
trig = "ic",
|
||||||
|
@ -37,12 +49,17 @@ return {
|
||||||
),
|
),
|
||||||
s(
|
s(
|
||||||
{
|
{
|
||||||
trig = "aou",
|
trig = "cp",
|
||||||
name = "AoU stats commit message",
|
name = "Running session commit message",
|
||||||
dscr = "Commit message for an increment of AoU validation statistics."
|
dscr = "Insert a commit message for running sessions commits."
|
||||||
},
|
},
|
||||||
{
|
fmt(
|
||||||
t("r+e: incrémente les stats de validation de l'AoU")
|
[[
|
||||||
}
|
course à pied : documente la séance du {1}
|
||||||
|
]],
|
||||||
|
{
|
||||||
|
f(get_date, {})
|
||||||
|
}
|
||||||
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue