fix(cmp): change the confirmation behaviour to `Insert`

pull/1095/head
Arman.H 2 years ago committed by siduck
parent 5716bbcca0
commit a8fd371b08

@ -55,7 +55,7 @@ local options = {
["<C-Space>"] = cmp.mapping.complete(),
["<C-e>"] = cmp.mapping.close(),
["<CR>"] = cmp.mapping.confirm {
behavior = cmp.ConfirmBehavior.Replace,
behavior = cmp.ConfirmBehavior.Insert,
select = true,
},
["<Tab>"] = cmp.mapping(function(fallback)

Loading…
Cancel
Save