cmp: Enter selects only on explicitely selected items
This commit is contained in:
parent
180c90a0df
commit
60bbddef35
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
|
@ -404,7 +404,7 @@ cmp.setup({
|
|||
["<C-Space>"] = cmp.mapping.complete(),
|
||||
["<C-e>"] = cmp.mapping.abort(),
|
||||
-- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
||||
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "nvim_lsp" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue