Fixed tab :)

This commit is contained in:
tilo committed 2023-03-30 12:38:39 +02:00
1 parent dc079f7293
commit d81e5d3a1c
1 file changed
-4
-4
View File
@@ -439,8 +439,6 @@ cmp.setup {
['<Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expand_or_jumpable() then
luasnip.expand_or_jump()
else
fallback()
end
@@ -448,8 +446,6 @@ cmp.setup {
['<S-Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
elseif luasnip.jumpable(-1) then
luasnip.jump(-1)
else
fallback()
end