dpayne / CodeGPT.nvim

CodeGPT is a plugin for neovim that provides commands to interact with ChatGPT.
GNU General Public License v3.0
764 stars 50 forks source link

Support for FIM (Fill-in-the-middle) ? #61

Open dtrckd opened 4 months ago

dtrckd commented 4 months ago

Hi,

With the recent introduction of Codestral (https://mistral.ai/news/codestral/), I am wondering if a support is planned or would be easy to implement for nvim, particularly with the FIM feature. So far, I haven't seen any implementation that handles this for Vim.

What I have in mind is the ability to activate the FIM mode in "copilot" mode to suggest auto-completion at the cursor automatically with a customizable backend. Specifically, I would like to:

What do you think about this ?