feat: disable complete with return automatically

This commit is contained in:
Lucas Barbieri 2024-07-19 00:04:38 -03:00
parent 0e91b88c1a
commit 8e55e1aa01

View File

@ -99,7 +99,7 @@ return {
['<C-Space>'] = cmp.mapping.complete {}, ['<C-Space>'] = cmp.mapping.complete {},
['<CR>'] = cmp.mapping.confirm { ['<CR>'] = cmp.mapping.confirm {
behavior = cmp.ConfirmBehavior.Replace, behavior = cmp.ConfirmBehavior.Replace,
select = true, select = false,
}, },
['<Tab>'] = cmp.mapping(function(fallback) ['<Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then if cmp.visible() then