Skip to content

Commit

Permalink
fix: user_input_ui now supports the "buffer" option
Browse files Browse the repository at this point in the history
- remove the previously wrong "custom" value
  • Loading branch information
frankroeder committed Aug 13, 2024
1 parent 3f74c06 commit 22abeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/parrot/chat_handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ function ChatHandler:prompt(params, target, model_obj, prompt, template)
return
end

local input_function = self.options.user_input_ui == "custom" and ui.input
local input_function = self.options.user_input_ui == "buffer" and ui.input
or self.options.user_input_ui == "native" and vim.ui.input
if input_function then
input_function({ prompt = prompt }, function(input)
Expand Down

0 comments on commit 22abeb3

Please sign in to comment.