From af73e87fd853d61e3ebca6f21f42a8d171124845 Mon Sep 17 00:00:00 2001 From: hrsh7th Date: Mon, 13 Sep 2021 13:58:04 +0900 Subject: [PATCH] We should adopt InsertLeave event --- lua/cmp/init.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/cmp/init.lua b/lua/cmp/init.lua index 0ba4e75..6464199 100644 --- a/lua/cmp/init.lua +++ b/lua/cmp/init.lua @@ -142,9 +142,7 @@ autocmd.subscribe('TextChanged', function() end) autocmd.subscribe('InsertLeave', function() - if config.enabled() then - core.reset() - end + core.reset() end) return cmp