zbirenbaum / copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
MIT License
2.43k stars 64 forks source link

Cursor position problems in nvim 0.10 #240

Open bhataktaBhai opened 7 months ago

bhataktaBhai commented 7 months ago

After commit #7304708, when accepting a multi-line suggestion, the cursor moves several lines down into pre-existing text.

Screenshot 2023-11-26 at 11 26 50 AM Screenshot 2023-11-26 at 11 26 25 AM

It's as if instead of the cursor moving down 4 lines after inserting the text, it moves 4 lines before inserting. The cursor symbol is 4 lines further still, but that is only graphical.

MunifTanjim commented 7 months ago

Are you using latest 0.10 nightly?