nvim: usar Ctrl+Enter para confirmar compe
This commit is contained in:
parent
b4906a50ae
commit
9c68824846
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ cmp.setup({
|
|||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||
['<C-Space>'] = cmp.mapping.complete(),
|
||||
['<C-e>'] = cmp.mapping.close(),
|
||||
['<CR>'] = cmp.mapping.confirm({ select = true }),
|
||||
['<C-CR>'] = cmp.mapping.confirm({ select = true }),
|
||||
},
|
||||
sources = {
|
||||
{ name = 'nvim_lsp' },
|
||||
|
|
Loading…
Reference in a new issue