chore(suggestion): increase debounce delay (#472)

This commit is contained in:
yetone 2024-09-03 17:18:38 +08:00 committed by GitHub
parent 0d8098e4eb
commit 9765eaca21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 if last_cursor_pos[1] == current_cursor_pos[1] and last_cursor_pos[2] == current_cursor_pos[2] then
self:suggest() self:suggest()
end end
end, 77) end, 700)
local function suggest_callback() local function suggest_callback()
if not vim.bo.buflisted then return end if not vim.bo.buflisted then return end