From d61e2baf302e1e2226b6fb48216baaace0596335 Mon Sep 17 00:00:00 2001 From: louie Date: Sun, 26 Jun 2022 10:22:20 -0700 Subject: Turn off autoselect completion --- lua/user/cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. - [""] = cmp.mapping.confirm { select = true }, + [""] = cmp.mapping.confirm { select = false }, [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() -- cgit