CopilotC-Nvim / CopilotChat.nvim

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

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

Closed Andrej-Marsic closed 4 months ago

Andrej-Marsic commented 4 months ago

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)

Coding-Journey commented 4 months ago

Weirdly the default Nvim behaviour of get visual selection updates after you escape the selection, so I find that if I select and unselect the thing I want to chat about, it'll work. However it'd be great for this to be improved