From 9765eaca21a96c6a726b8af4b8ab6b7d94eb9365 Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 3 Sep 2024 17:18:38 +0800 Subject: [PATCH] chore(suggestion): increase debounce delay (#472) --- lua/avante/suggestion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/avante/suggestion.lua b/lua/avante/suggestion.lua index c489d76..51f96ea 100644 --- a/lua/avante/suggestion.lua +++ b/lua/avante/suggestion.lua @@ -308,7 +308,7 @@ function Suggestion:setup_autocmds() if last_cursor_pos[1] == current_cursor_pos[1] and last_cursor_pos[2] == current_cursor_pos[2] then self:suggest() end - end, 77) + end, 700) local function suggest_callback() if not vim.bo.buflisted then return end