diff options
author | louie <louie@example.com> | 2022-06-26 10:22:20 -0700 |
---|---|---|
committer | louie <louie@example.com> | 2022-06-26 10:22:20 -0700 |
commit | d61e2baf302e1e2226b6fb48216baaace0596335 (patch) | |
tree | 3a3bab754b92dff115027cbbaab9604a8b636f5c /lua/user | |
parent | 6b06898e35d9557ca83e1d4ff4aa048296ca5120 (diff) |
Turn off autoselect completion
Diffstat (limited to 'lua/user')
-rw-r--r-- | lua/user/cmp.lua | 2 |
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() |