nvim-cmp: cancel the <CR> mapping in cmode

This commit is contained in:
2022-04-14 16:01:19 +08:00
parent 4277169266
commit a569c8eebf
+1 -1
View File
@@ -100,7 +100,7 @@ cmp.setup({
else
fallback()
end
end, {'i', 'c'}),
end, {'i', 's'}),
['<Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.confirm({