Add cmp mapping Example
Leiyi548 opened this issue · 3 comments
Leiyi548 commented
Add cmp mapping Example
Leiyi548 commented
pta2002 commented
Hey, can you please try setting up this mapping on nvim-cmp and telling me if it works?
['<Tab>'] = function(fallback)
if cmp.visible() then
cmp.select_next_item() -- or whatever else you want nvim-cmp to do when you press tab
else
require("intellitab").indent()
end
end