nvim: set nvim-cmp select=false to avoid irritating unwanted autocompletes
This commit is contained in:
parent
424a357be6
commit
eaea595e0c
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ return {
|
||||||
["<C-;>"] = cmp.mapping.scroll_docs(4),
|
["<C-;>"] = cmp.mapping.scroll_docs(4),
|
||||||
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
|
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
|
||||||
["<C-e>"] = cmp.mapping.abort(), -- close completion window
|
["<C-e>"] = cmp.mapping.abort(), -- close completion window
|
||||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||||
["<S-Tab>"] = cmp.mapping(function(fallback)
|
["<S-Tab>"] = cmp.mapping(function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
return cmp.complete_common_string()
|
return cmp.complete_common_string()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue