CopilotC-Nvim / CopilotChat.nvim

Chat with GitHub Copilot in Neovim
https://copilotc-nvim.github.io/CopilotChat.nvim/
GNU General Public License v3.0
1.44k stars 67 forks source link

Code doesn't get passed if using the the prompt_actions when using the Telescope integration #329

Closed deathbeam closed 3 months ago

deathbeam commented 3 months ago

Discussed in https://github.com/CopilotC-Nvim/CopilotChat.nvim/discussions/288

Originally posted by **Andrej-Marsic** April 19, 2024 I assume in some cases it's the visual selection that gets passed to the prompt, but if one tries to use it through the telescope integration, the selection disappears and nothing gets passed (or the current line at most)