Compare commits
No commits in common. "0471dd67c43b8993aebe33a567fd57409adf9948" and "a8c313b9cd9a2c45d811acd43c6e9d7a728d7317" have entirely different histories.
0471dd67c4
...
a8c313b9cd
@ -17,20 +17,20 @@ return {
|
||||
luasnip.expand_or_jump()
|
||||
end
|
||||
end, { silent = true })
|
||||
vim.keymap.set({ 'i', 's' }, '<C-k>', function()
|
||||
vim.keymap.set({ 'i', 's' }, '<C-K>', function()
|
||||
if luasnip.jumpable(-1) then
|
||||
luasnip.jump(-1)
|
||||
end
|
||||
end, { silent = true })
|
||||
vim.keymap.set({ "i", "s" }, "<C-n>", function()
|
||||
if luasnip.choice_active() then
|
||||
luasnip.change_choice(1)
|
||||
end
|
||||
end, { silent = true })
|
||||
vim.keymap.set({ "i", "s" }, "<C-p>", function()
|
||||
if luasnip.choice_active() then
|
||||
luasnip.change_choice(-1)
|
||||
end
|
||||
end, { silent = true })
|
||||
-- vim.keymap.set('s', '<M-l>', function()
|
||||
-- if luasnip.choice_active() then
|
||||
-- luasnip.change_choice(1)
|
||||
-- end
|
||||
-- end, { silent = true })
|
||||
-- vim.keymap.set('s', '<M-h>', function()
|
||||
-- if luasnip.choice_active() then
|
||||
-- luasnip.change_choice(-1)
|
||||
-- end
|
||||
-- end, { silent = true })
|
||||
end
|
||||
}
|
||||
|
@ -33,11 +33,6 @@ local snippets = {
|
||||
end, key('name')),
|
||||
text({ '', '#define ' }),
|
||||
insert(1, getIncludeGuardName(), { key = 'name' }),
|
||||
-- FIXME: dynamic(1, function(_, _)
|
||||
-- return snip({}, {
|
||||
-- insert(1, getIncludeGuardName())
|
||||
-- })
|
||||
-- end, { key = "name" }),
|
||||
text({ '', '', '', }),
|
||||
insert(0, ''),
|
||||
text({ '', '', '#endif // ' }),
|
||||
|
Loading…
x
Reference in New Issue
Block a user