summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/cmp.lua')
-rw-r--r--lua/user/cmp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua
index 51135e0..4f91759 100644
--- a/lua/user/cmp.lua
+++ b/lua/user/cmp.lua
@@ -70,7 +70,7 @@ cmp.setup {
},
-- Accept currently selected item. If none selected, `select` first item.
-- Set `select` to `false` to only confirm explicitly selected items.
- ["<CR>"] = cmp.mapping.confirm { select = true },
+ ["<CR>"] = cmp.mapping.confirm { select = false },
["<Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()