chore(nvim): nvim-cmp insert not replace
parent
bc2bbacf7f
commit
cee8aa959e
|
@ -333,7 +333,10 @@ require("lazy").setup({
|
|||
mapping = cmp.mapping.preset.insert({
|
||||
["<C-Space>"] = cmp.mapping.complete(),
|
||||
["<C-e>"] = cmp.mapping.abort(),
|
||||
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||
["<CR>"] = cmp.mapping.confirm({
|
||||
select = false,
|
||||
behavior = cmp.ConfirmBehavior.Insert,
|
||||
}),
|
||||
}),
|
||||
completion = {
|
||||
autocomplete = false,
|
||||
|
|
Loading…
Reference in New Issue