From 5e4b2e6a117bd62a29f02b4825d1f1b1f2f21172 Mon Sep 17 00:00:00 2001 From: siduck Date: Fri, 24 Jun 2022 10:24:45 +0530 Subject: [PATCH] avoid cmp to take over "" #1258 --- lua/plugins/configs/cmp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua index 658f131..3433fdb 100644 --- a/lua/plugins/configs/cmp.lua +++ b/lua/plugins/configs/cmp.lua @@ -60,8 +60,8 @@ local options = { [""] = cmp.mapping.complete(), [""] = cmp.mapping.close(), [""] = cmp.mapping.confirm { - behavior = cmp.ConfirmBehavior.Insert, - select = true, + behavior = cmp.ConfirmBehavior.Replace, + select = false, }, [""] = cmp.mapping(function(fallback) if cmp.visible() then