From e3adbc1a8b26d794a0933b29a8bd72d47d642d36 Mon Sep 17 00:00:00 2001 From: eyalz800 Date: Sun, 3 Mar 2024 20:46:22 +0200 Subject: [PATCH] Ignore notification --- lua/copilot/suggestion.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/copilot/suggestion.lua b/lua/copilot/suggestion.lua index 713a1c42..0a409676 100644 --- a/lua/copilot/suggestion.lua +++ b/lua/copilot/suggestion.lua @@ -465,12 +465,12 @@ function mod.accept(modifier) function() end ) end) - if not ok then - vim.notify( - table.concat({ "[Copilot] failed to notify_accepted for: " .. suggestion.text, "Error: " .. err }, "\n\n"), - vim.log.levels.ERROR - ) - end + -- if not ok then + -- vim.notify( + -- table.concat({ "[Copilot] failed to notify_accepted for: " .. suggestion.text, "Error: " .. err }, "\n\n"), + -- vim.log.levels.ERROR + -- ) + -- end end) clear_preview()