Skip to content

Commit d0a8e70

Browse files
chore(doc): auto generate docs
1 parent f091f61 commit d0a8e70

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

doc/CopilotChat.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ API ~
190190
-- Get all available prompts (can be used for integrations like fzf/telescope)
191191
local prompts = chat.prompts()
192192

193+
-- Get last copilot response (also can be used for integrations and custom keymaps)
194+
local response = chat.response()
195+
193196
-- Pick a prompt using vim.ui.select
194197
local actions = require("CopilotChat.actions")
195198

0 commit comments

Comments
 (0)