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 f091f61 commit d0a8e70Copy full SHA for d0a8e70
1 file changed
doc/CopilotChat.txt
@@ -190,6 +190,9 @@ API ~
190
-- Get all available prompts (can be used for integrations like fzf/telescope)
191
local prompts = chat.prompts()
192
193
+ -- Get last copilot response (also can be used for integrations and custom keymaps)
194
+ local response = chat.response()
195
+
196
-- Pick a prompt using vim.ui.select
197
local actions = require("CopilotChat.actions")
198
0 commit comments