fix: ask api (#1641)

This commit is contained in:
yetone
2025-03-19 14:14:57 +08:00
committed by GitHub
parent abca1a4ea3
commit 55d5dfa8cd
2 changed files with 13 additions and 2 deletions

View File

@@ -144,9 +144,10 @@ function M.ask(opts)
close_on_submit = true,
win_opts = {
border = Config.windows.ask.border,
title = { { "ask", "FloatTitle" } },
title = { { "Avante Ask", "FloatTitle" } },
},
start_insert = Config.windows.ask.start_insert,
default_value = opts.question,
})
prompt_input:open()
return true