We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7054d6a commit afcf974Copy full SHA for afcf974
lua/plugins/completions.lua
@@ -33,7 +33,8 @@ return {
33
['<M-c>'] = cmp.mapping.abort(),
34
['<CR>'] = cmp.mapping.confirm({ select = true }),
35
["<Tab>"] = cmp.mapping(function(fallback)
36
- if luasnip.jumpable(1) then luasnip.jump(1)
+ if cmp.visible() then cmp.select_next_item()
37
+ elseif luasnip.locally_jumpable(1) then luasnip.jump(1)
38
else fallback()
39
end
40
end, { "i", "s" }),
0 commit comments