Skip to content

Commit 21ed541

Browse files
committed
feat: enable range support for CopilotChatPrompts
Add range support to the CopilotChatPrompts command to allow selecting text ranges when using the command, enhancing the flexibility of prompt selection.
1 parent d661d7e commit 21ed541

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/CopilotChat/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ function M.setup(config)
10701070

10711071
vim.api.nvim_create_user_command('CopilotChatPrompts', function()
10721072
M.select_prompt()
1073-
end, { force = true })
1073+
end, { force = true, range = true })
10741074
vim.api.nvim_create_user_command('CopilotChatModels', function()
10751075
M.select_model()
10761076
end, { force = true })

0 commit comments

Comments
 (0)