From a78fd94ec6d23ab55477379f050625d4dfa6eefc Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Tue, 16 Aug 2022 13:52:35 +0200 Subject: [PATCH] style: remove unnecessary print --- lua/complementree/init.lua | 2 -- teal/complementree/init.tl | 2 -- 2 files changed, 4 deletions(-) diff --git a/lua/complementree/init.lua b/lua/complementree/init.lua index 2843cb9..1e6b167 100644 --- a/lua/complementree/init.lua +++ b/lua/complementree/init.lua @@ -141,10 +141,8 @@ function M._CompleteDone() if not completed_item or not completed_item.user_data or not completed_item.user_data.source then return end - vim.notify("CompleteDone") local func = sources.complete_done_cbs[completed_item.user_data.source] if func then - vim.notify("CompleteDone found") diff --git a/teal/complementree/init.tl b/teal/complementree/init.tl index c40410a..eda3035 100644 --- a/teal/complementree/init.tl +++ b/teal/complementree/init.tl @@ -141,10 +141,8 @@ function M._CompleteDone() if not completed_item or not completed_item.user_data or not completed_item.user_data.source then return end - vim.notify "CompleteDone" local func = sources.complete_done_cbs[completed_item.user_data.source] if func then - vim.notify "CompleteDone found" -- We will force the ignore of InsertLeave events for a certain time, in order to avoid strange -- behavior and flickering of the UI. So we _synchronously_ set 'eventignore' to ignore -- InsertLeave, and schedule the reset in the loop. -- 2.45.2