change: nvim: cmp settings (Replace -> Insert, selection requirement)
This commit is contained in:
parent
e86b6655d8
commit
700cecd2ae
1 changed files with 2 additions and 2 deletions
|
@ -673,8 +673,8 @@ cmp.setup {
|
||||||
['<C-d>'] = cmp.mapping.scroll_docs(4), -- Down
|
['<C-d>'] = cmp.mapping.scroll_docs(4), -- Down
|
||||||
['<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.Insert,
|
||||||
select = true,
|
select = false,
|
||||||
},
|
},
|
||||||
['<Tab>'] = cmp.mapping(function(fallback)
|
['<Tab>'] = cmp.mapping(function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
|
|
Loading…
Reference in a new issue