-
Or how to jump to each placeholder in SELECT mode? |
Beta Was this translation helpful? Give feedback.
Answered by
ray-x
Jul 19, 2022
Replies: 1 comment 1 reply
-
["<Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expand_or_jumpable() then
luasnip.expand_or_jump()
elseif has_words_before() then
cmp.complete()
else
fallback()
-- end
end |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ayoisaiah
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<Tab>
in insert mode.I set it up to work with luasnip & cmp with this