Robitx / gp.nvim

Gp.nvim (GPT prompt) Neovim AI plugin: ChatGPT sessions & Instructable text/code operations & Speech to text [OpenAI, Ollama, Anthropic, ..]
MIT License
787 stars 67 forks source link

feat: keep line reference for GpRewrite etc. via extmarks #59

Closed Robitx closed 10 months ago

Robitx commented 10 months ago

This would allow people to work in one part of a buffer and possibly remove/add lines while some Gp commands generates an answer in a different part of buffer.

https://neovim.io/doc/user/api.html#extmarks