From a8fd371b088ca7f51ae5991a19abfd284de1676d Mon Sep 17 00:00:00 2001 From: "Arman.H" Date: Mon, 16 May 2022 17:39:22 +0430 Subject: [PATCH] fix(cmp): change the confirmation behaviour to `Insert` --- lua/plugins/configs/cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua index ee03873..45a10c7 100644 --- a/lua/plugins/configs/cmp.lua +++ b/lua/plugins/configs/cmp.lua @@ -55,7 +55,7 @@ local options = { [""] = cmp.mapping.complete(), [""] = cmp.mapping.close(), [""] = cmp.mapping.confirm { - behavior = cmp.ConfirmBehavior.Replace, + behavior = cmp.ConfirmBehavior.Insert, select = true, }, [""] = cmp.mapping(function(fallback)