copilot.lua icon indicating copy to clipboard operation
copilot.lua copied to clipboard

No completions displayed when cursor isn't at the end of the line

Open MariaSolOs opened this issue 1 month ago • 1 comments

Apologies if this has been previously described. I didn't find (based on a quick scan of the titles of open issues) a similar report.

From my usage of this plugin (which in total sums to > 2 years) I've noticed how no inline completions are displayed when the cursor isn't at the end of the line, even after explicitly triggering Copilot with the configured keybind.

Here's a video showing the behavior:

https://github.com/user-attachments/assets/0fd240ac-ba42-4110-bf13-314a9a5f00d4

Notice how there are no completions for the declaration/assignment of cursor_node_range until I've deleted the context after the cursor.

MariaSolOs avatar Nov 13 '25 04:11 MariaSolOs

Yeah that's just how Copilot works as far as I know, there's not much we can do!

AntoineGS avatar Nov 13 '25 19:11 AntoineGS