Skip to content

Commit

Permalink
chore(doc): auto generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 19, 2024
1 parent dcc8f5e commit 7956e04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/CopilotChat.txt
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,13 @@ You can define custom selection functions like this:
{
selection = function()
-- Get content from * register
local lines = vim.fn.getreg('*')
if not lines or lines == '' then
local content = vim.fn.getreg('*')
if not content or content == '' then
return nil
end

return {
lines = lines,
content = content,
}
end
}
Expand Down

0 comments on commit 7956e04

Please sign in to comment.