Signed-off-by: Lee Tang <i@d0zingcat.dev>
This commit is contained in:
Lee Tang
2022-09-15 12:09:29 +08:00
parent bf3e72eb71
commit f1f349f7ec
3 changed files with 17 additions and 11 deletions

View File

@@ -26,9 +26,9 @@ cmp.setup({
['<C-f>'] = cmp.mapping.scroll_docs(4),
['<C-Space>'] = cmp.mapping.complete(),
--["<C-e>"] = cmp.mapping.close(),
['<C-e>'] = function(fallback)
fallback()
end,
-- ['<C-e>'] = function(fallback)
-- fallback()
-- end,
['<CR>'] = cmp.mapping.confirm({
behavior = cmp.ConfirmBehavior.Replace,
select = true,