diff --git a/after/plugin/snips.lua b/after/plugin/snips.lua index 098e9d2..d2d3e69 100644 --- a/after/plugin/snips.lua +++ b/after/plugin/snips.lua @@ -45,6 +45,19 @@ local snippets = { end) ), }, + gitcommit = { + s( + { trig = 'cc', name = 'conventional commit' }, + fmt( + [[ + {}({}): {} {} + + {} + ]], + { i(1, 'type'), i(2, 'scope'), i(3, 'ticket'), i(4, 'message'), i(0) } + ) + ), + }, lua = { s('hey', c(1, { t 'hey ho', t 'hoi' })), s(