fix: refine suggestion prompts (#1087)

This commit is contained in:
yetone
2025-01-15 18:35:36 +08:00
committed by GitHub
parent a874c2736a
commit 0df03dd213
2 changed files with 5 additions and 2 deletions

View File

@@ -213,6 +213,8 @@ function Suggestion:show()
local suggestions = ctx.suggestions_list and ctx.suggestions_list[ctx.current_suggestions_idx] or nil
Utils.debug("show suggestions", suggestions)
if not suggestions then return end
for _, suggestion in ipairs(suggestions) do