nvim: reformat cpp snippets

This commit is contained in:
tastytea 2022-08-20 03:33:35 +02:00
parent 061d55f643
commit bc4b23d2a5
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -43,9 +43,7 @@ local bsd0 =
local my = require('my.functions') local my = require('my.functions')
return { return {
s( s({ trig = 'AGPL',
{
trig = 'AGPL',
name = 'AGPL-3.0-only', name = 'AGPL-3.0-only',
dscr = 'Inserts the GNU Affero General Public License, version 3' dscr = 'Inserts the GNU Affero General Public License, version 3'
}, },
@ -66,12 +64,9 @@ return {
return my.shell_capture('git config user.email') return my.shell_capture('git config user.email')
or 'INSERT_EMAIL' or 'INSERT_EMAIL'
end), end),
cursor = i() cursor = i(0)
}) })),
), s({ trig = '0BSD',
s(
{
trig = '0BSD',
name = '0BSD', name = '0BSD',
dscr = 'Inserts the BSD Zero Clause License' dscr = 'Inserts the BSD Zero Clause License'
}, },
@ -92,7 +87,6 @@ return {
return my.shell_capture('git config user.email') return my.shell_capture('git config user.email')
or 'INSERT_EMAIL' or 'INSERT_EMAIL'
end), end),
cursor = i() cursor = i(0)
}) }))
)
} }