nvim: snippets: don't cache inserts
This commit is contained in:
parent
26f520e509
commit
feb385b694
|
@ -51,10 +51,18 @@ return {
|
|||
dscr = 'Inserts the GNU Affero General Public License, version 3'
|
||||
},
|
||||
fmt(agpl, {
|
||||
project = MY_get_project_root():gsub('.*/', ''),
|
||||
year = f(function() return os.date('%Y') end),
|
||||
name = MY_shell_capture('git config user.name'),
|
||||
email = MY_shell_capture('git config user.email'),
|
||||
project = f(function()
|
||||
return MY_get_project_root():gsub('.*/', '')
|
||||
end),
|
||||
year = f(function()
|
||||
return os.date('%Y')
|
||||
end),
|
||||
name = f(function()
|
||||
return MY_shell_capture('git config user.name')
|
||||
end),
|
||||
email = f(function()
|
||||
return MY_shell_capture('git config user.email')
|
||||
end),
|
||||
cursor = i()
|
||||
})
|
||||
),
|
||||
|
@ -65,10 +73,18 @@ return {
|
|||
dscr = 'Inserts the BSD Zero Clause License'
|
||||
},
|
||||
fmt(bsd0, {
|
||||
project = MY_get_project_root():gsub('.*/', ''),
|
||||
year = f(function() return os.date('%Y') end),
|
||||
name = MY_shell_capture('git config user.name'),
|
||||
email = MY_shell_capture('git config user.email'),
|
||||
project = f(function()
|
||||
return MY_get_project_root():gsub('.*/', '')
|
||||
end),
|
||||
year = f(function()
|
||||
return os.date('%Y')
|
||||
end),
|
||||
name = f(function()
|
||||
return MY_shell_capture('git config user.name')
|
||||
end),
|
||||
email = f(function()
|
||||
return MY_shell_capture('git config user.email')
|
||||
end),
|
||||
cursor = i()
|
||||
})
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user