nvim: reformat cpp snippets
This commit is contained in:
parent
061d55f643
commit
bc4b23d2a5
|
@ -43,12 +43,10 @@ local bsd0 =
|
|||
|
||||
local my = require('my.functions')
|
||||
return {
|
||||
s(
|
||||
{
|
||||
trig = 'AGPL',
|
||||
name = 'AGPL-3.0-only',
|
||||
dscr = 'Inserts the GNU Affero General Public License, version 3'
|
||||
},
|
||||
s({ trig = 'AGPL',
|
||||
name = 'AGPL-3.0-only',
|
||||
dscr = 'Inserts the GNU Affero General Public License, version 3'
|
||||
},
|
||||
fmt(agpl, {
|
||||
project = f(function()
|
||||
local root = my.get_project_root()
|
||||
|
@ -66,15 +64,12 @@ return {
|
|||
return my.shell_capture('git config user.email')
|
||||
or 'INSERT_EMAIL'
|
||||
end),
|
||||
cursor = i()
|
||||
})
|
||||
),
|
||||
s(
|
||||
{
|
||||
trig = '0BSD',
|
||||
name = '0BSD',
|
||||
dscr = 'Inserts the BSD Zero Clause License'
|
||||
},
|
||||
cursor = i(0)
|
||||
})),
|
||||
s({ trig = '0BSD',
|
||||
name = '0BSD',
|
||||
dscr = 'Inserts the BSD Zero Clause License'
|
||||
},
|
||||
fmt(bsd0, {
|
||||
project = f(function()
|
||||
local root = my.get_project_root()
|
||||
|
@ -92,7 +87,6 @@ return {
|
|||
return my.shell_capture('git config user.email')
|
||||
or 'INSERT_EMAIL'
|
||||
end),
|
||||
cursor = i()
|
||||
})
|
||||
)
|
||||
cursor = i(0)
|
||||
}))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user