We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13ade85 commit c73b7beCopy full SHA for c73b7be
lua/opencode/api.lua
@@ -125,9 +125,8 @@ function M.quick_chat(message, range)
125
message = table.concat(message, ' ')
126
end
127
128
- -- If no message, prompt for input (range is captured above)
129
if not message or #message == 0 then
130
- vim.ui.input({ prompt = 'Quick Chat Message: ' }, function(input)
+ vim.ui.input({ prompt = 'Quick Chat Message: ', win = { relative = 'cursor' } }, function(input)
131
local prompt, ctx = util.parse_quick_context_args(input)
132
if input and input ~= '' then
133
quick_chat.quick_chat(prompt, { context_config = ctx }, range)
0 commit comments