Skip to content

Commit 5d46a69

Browse files
chore(doc): auto generate docs
1 parent 1ff0bb3 commit 5d46a69

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

doc/CopilotChat.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*CopilotChat.txt* For NVIM v0.8.0 Last change: 2025 October 21
1+
*CopilotChat.txt* For NVIM v0.8.0 Last change: 2025 October 23
22

33
==============================================================================
44
Table of Contents *CopilotChat-table-of-contents*
@@ -484,10 +484,6 @@ CORE *CopilotChat-core*
484484
chat.reset() -- Reset the chat
485485
chat.stop() -- Stop current output
486486

487-
-- Source Management
488-
chat.get_source() -- Get the current source buffer and window
489-
chat.set_source(winnr) -- Set the source window
490-
491487
-- Prompt & Model Management
492488
chat.select_prompt(config) -- Open prompt selector with optional config
493489
chat.select_model() -- Open model selector
@@ -518,14 +514,17 @@ You can also access the chat window UI methods through the `chat.chat` object:
518514
window:add_message({ role, content }, replace) -- Add or replace a message in chat
519515
window:remove_message(role, cursor) -- Remove chat message by role, either last or closest to cursor
520516
window:get_block(role, cursor) -- Get code block by role, either last or closest to cursor
521-
window:add_sticky(sticky) -- Add sticky prompt to chat message
522517

523518
-- Content Management
524519
window:append(text) -- Append text to chat window
525520
window:clear() -- Clear chat window content
526521
window:start() -- Start writing to chat window
527522
window:finish() -- Finish writing to chat window
528523

524+
-- Source Management
525+
window.get_source() -- Get the current source buffer and window
526+
window.set_source(winnr) -- Set the source window
527+
529528
-- Navigation
530529
window:follow() -- Move cursor to end of chat content
531530
window:focus() -- Focus the chat window

0 commit comments

Comments
 (0)