You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in simple term what would be the blink.cmp version of this nvim-cmp
localcmp=require("cmp")
localluasnip=require("luasnip")
localneotab=require("neotab")
["<Tab>"] =cmp.mapping(function(fallback)
ifcmp.visible() thencmp.select_next_item()
elseifluasnip.expand_or_jumpable() thenluasnip.expand_or_jump()
-- this will auto complete if our cursor in next to a word and we press tab-- elseif has_words_before() then-- cmp.complete()elseneotab.tabout()
-- fallback()endend, { "i", "s" }),
["<S-Tab>"] =cmp.mapping(function(fallback)
ifcmp.visible() thencmp.select_prev_item()
elseifluasnip.jumpable(-1) thenluasnip.jump(-1)
elsefallback()
endend, { "i", "s" }),
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
in simple term what would be the blink.cmp version of this nvim-cmp
Beta Was this translation helpful? Give feedback.
All reactions